-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
51 lines (47 loc) · 985 Bytes
/
docker-compose.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
version: "3.8"
services:
db:
image: postgres:16-alpine
container_name: "postgres"
restart: unless-stopped
networks:
- transcendence
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
POSTGRES_DB: ${DB_NAME}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_PASSWORD: ${DB_PASSWORD}
pong:
image: pong:transcendence
container_name: "pong"
build: .
restart: unless-stopped
depends_on:
- db
networks:
- transcendence
ports:
- 3000:3000
volumes:
- files:/app/uploads
environment:
- APP_NAME
- BASE_URL
- DB_HOST=db
- DB_PORT=5432
- DB_NAME
- DB_USERNAME
- DB_PASSWORD
- FT_CLIENT_ID
- FT_CLIENT_SECRET
- SESSIONS_SECRET
networks:
transcendence:
name: "transcendence-network"
driver: bridge
volumes:
files:
name: "transcendence-files"
postgres-data:
name: "transcendence-postgres-data"