diff --git a/build/docker-compose.yml b/build/docker-compose.yml index a245a93e6..5ea0dab8d 100644 --- a/build/docker-compose.yml +++ b/build/docker-compose.yml @@ -3,6 +3,8 @@ services: backend: build: context: ../backend + depends_on: + - postgres command: - /bin/bash - -c @@ -36,12 +38,12 @@ services: - frontend postgres: container_name: bt_postgres - image: postgres:latest + image: postgres:12.6 volumes: - ./bt_main.dump:/bt_main.dump - ./postgres-data:/var/lib/postgresql/data ports: - - "54321:5432" + - "5432:5432" environment: - "POSTGRES_DB=bt_main" - "POSTGRES_USER=bt"