diff --git a/global/overlay/etc/puppet/modules/soc/templates/vuln-dashboard/docker-compose.yml.erb b/global/overlay/etc/puppet/modules/soc/templates/vuln-dashboard/docker-compose.yml.erb index 3f1c390..c4aacc1 100644 --- a/global/overlay/etc/puppet/modules/soc/templates/vuln-dashboard/docker-compose.yml.erb +++ b/global/overlay/etc/puppet/modules/soc/templates/vuln-dashboard/docker-compose.yml.erb @@ -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: