Update docker-compose volumes and remove init-db
- Bump frontend version from 2.0.2 to 2.0.4 - Add scripts:ro and backups volumes in deployment and compose - Remove backend/init-db mount from docker-compose
This commit is contained in:
@@ -285,6 +285,8 @@ services:
|
||||
- POSTGRES_DB=\${DB_NAME}
|
||||
volumes:
|
||||
- ./postgres_data:/var/lib/postgresql/data
|
||||
- ./scripts:/scripts:ro
|
||||
- ./backups:/backups
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', 'PGPASSWORD=\${DB_PASSWORD} pg_isready -U postgres -h localhost']
|
||||
interval: 10s
|
||||
|
||||
@@ -10,7 +10,6 @@ services:
|
||||
- POSTGRES_DB=${DB_NAME:-edh_stats}
|
||||
volumes:
|
||||
- ./postgres_data:/var/lib/postgresql/data
|
||||
- ./backend/init-db:/docker-entrypoint-initdb.d
|
||||
- ./scripts:/scripts:ro
|
||||
- ./backups:/backups
|
||||
healthcheck:
|
||||
|
||||
@@ -1 +1 @@
|
||||
2.0.2
|
||||
2.0.4
|
||||
|
||||
Reference in New Issue
Block a user