-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (34 loc) · 1.02 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '3'
services:
db:
image: postgres:13.3
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
container_name: "assassin-db"
networks:
backend:
assassin-server:
build:
context: .
dockerfile: dockerfiles/Dockerfile.dev
ports:
- "${DOCKER_OUTER_HOST}:${DOCKER_OUTER_PORT}:${PORT}"
environment:
- HOST=${HOST}
- PORT=${PORT}
- ENABLE_BUNYAN=false
- POSTGRES_HOST=db
- POSTGRES_PORT=5432
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_USER}
- POSTGRES_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_USER}
- RUST_LOG=${RUST_LOG}
container_name: "assassin-server"
depends_on:
- "db"
networks:
backend:
networks:
backend: