Skip to content

Commit

Permalink
chore: docker-compose settings
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexXi19 committed Sep 30, 2022
1 parent b31eecb commit acf2712
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ services:
backend:
build:
context: ../backend
depends_on:
- postgres
command:
- /bin/bash
- -c
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit acf2712

Please sign in to comment.