-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
35 lines (31 loc) · 985 Bytes
/
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
version: '3'
services:
PostgreSQL:
container_name: 'postgres-${CONTAINER_SUFFIX}'
image: postgres:10-alpine
restart: always
ports:
- '${POSTGRES_PORT}:5432'
env_file: deploy/env/PostgreSQL.env
volumes:
- ~/docker-volumes/postgresql:/var/lib/postgresql/data
foosball-rating-backend:
container_name: 'foosball-rating-backend-${CONTAINER_SUFFIX}'
image: registry.zero-team.pro:443/foosball-rating/backend:${BUILD}
restart: always
env_file: deploy/env/backend.env
volumes:
- ./.env:/app/.env
- ./ormconfig.json:/app/ormconfig.json
- ./deploy/env/secrets.env:/app/deploy/env/secrets.env
depends_on:
- 'PostgreSQL'
foosball-rating-frontend:
container_name: 'foosball-rating-frontend-${CONTAINER_SUFFIX}'
image: registry.zero-team.pro:443/foosball-rating/frontend:${BUILD}
restart: always
env_file: deploy/env/frontend.env
networks:
default:
external:
name: nginx-proxy