fix migration docker network
This commit is contained in:
parent
74038781d4
commit
43e7717e58
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
services:
|
||||
|
||||
# used to run the application
|
||||
dev:
|
||||
container_name: <%= @sso_service_name %>
|
||||
hostname: <%= @sso_service_name %>
|
||||
|
@ -30,6 +31,7 @@ services:
|
|||
- default
|
||||
- sso-proxy
|
||||
|
||||
# run migrations before starting the app
|
||||
run-migrations:
|
||||
container_name: <%= @sso_service_name %>-migrations
|
||||
command: [ 'python3', 'manage.py', 'migrate' ]
|
||||
|
@ -53,7 +55,7 @@ services:
|
|||
- pocs-data:/app/stored_pocs
|
||||
- "<%= @app_config_file %>:/app/config.yaml:ro"
|
||||
networks:
|
||||
- sso-proxy
|
||||
- default
|
||||
|
||||
|
||||
postgres:
|
||||
|
|
Loading…
Add table
Reference in a new issue