+5
-4
@@ -8,7 +8,7 @@ services:
|
||||
restart: always
|
||||
ports:
|
||||
# Exposes application port.
|
||||
- "8000:8000"
|
||||
- "8000:8000"
|
||||
env_file:
|
||||
- path: .env
|
||||
required: false
|
||||
@@ -49,13 +49,14 @@ services:
|
||||
migrator:
|
||||
<<: *main_app
|
||||
restart: "no"
|
||||
command: piccolo migrations forwards all
|
||||
command:
|
||||
- bash
|
||||
- -c
|
||||
- "ls && piccolo migrations forwards all"
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
||||
|
||||
|
||||
volumes:
|
||||
zangramru-db-data:
|
||||
name: zangramru-db-data
|
||||
|
||||
Reference in New Issue
Block a user