feat: Adjust configuration file volume mounting method
This commit is contained in:
+3
-2
@@ -6,7 +6,7 @@ services:
|
|||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- data-files:/data/files
|
- data-files:/data/files
|
||||||
- ./config:/app/config
|
- ./config/config.yaml:/app/config/config.yaml
|
||||||
environment:
|
environment:
|
||||||
- GIN_MODE=${GIN_MODE}
|
- GIN_MODE=${GIN_MODE}
|
||||||
- DB_DRIVER=postgres
|
- DB_DRIVER=postgres
|
||||||
@@ -161,7 +161,8 @@ services:
|
|||||||
- POSTGRES_DB=${DB_NAME}
|
- POSTGRES_DB=${DB_NAME}
|
||||||
volumes:
|
volumes:
|
||||||
- postgres-data:/var/lib/postgresql/data
|
- postgres-data:/var/lib/postgresql/data
|
||||||
- ./migrations/paradedb:/docker-entrypoint-initdb.d
|
- ./migrations/paradedb/00-init-db.sql:/docker-entrypoint-initdb.d/00-init-db.sql
|
||||||
|
- ./migrations/paradedb/01-migrate-to-paradedb.sql:/docker-entrypoint-initdb.d/01-migrate-to-paradedb.sql
|
||||||
networks:
|
networks:
|
||||||
- WeKnora-network
|
- WeKnora-network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|||||||
Reference in New Issue
Block a user