Skip to content

Commit

Permalink
rename package scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
younes200 committed Oct 4, 2023
1 parent 8547714 commit 246e801
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ dist/
.turbo

.vscode
.backups
36 changes: 20 additions & 16 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,26 @@ services:
networks:
- local

# dbbackups:
# image: kartoza/pg-backup:13.0
# volumes:
# - ./backups:/backups
# environment:
# - DUMPPREFIX=PG
# - POSTGRES_HOST=postgres
# - POSTGRES_USER=${POSTGRES_USER}
# - POSTGRES_PASS=${POSTGRES_PASSWORD}
# - POSTGRES_PORT=5432
# #- CRON_SCHEDULE="*/5 * * * *"
# #- DB_DUMP_ENCRYPTION=true
# restart: on-failure
# depends_on:
# postgres:
# condition: service_healthy
dbbackups:
image: kartoza/pg-backup:13.0
volumes:
- ./.backups:/backups
environment:
- DUMPPREFIX=PG
- POSTGRES_HOST=postgres
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASS=${POSTGRES_PASSWORD}
- POSTGRES_PORT=5432
- DBLIST=celluloid
- ARCHIVE_FILENAME=latest
#- CRON_SCHEDULE="*/5 * * * *"
#- DB_DUMP_ENCRYPTION=true
restart: on-failure
depends_on:
postgres:
condition: service_healthy
networks:
- local

# keycloak:
# image: quay.io/phasetwo/phasetwo-keycloak:20.0.1-alpha
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"server": "yarn workspace server",
"admin": "yarn workspace admin",
"backend": "yarn workspace backend",
"database": "yarn workspace @celluloid/database",
"prisma": "yarn workspace @celluloid/prisma",
"docker-build": "docker build -t celluloid:local ."
},
"devDependencies": {
Expand Down

0 comments on commit 246e801

Please sign in to comment.