-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
41 lines (36 loc) · 964 Bytes
/
Copy pathdocker-compose.dev.yml
File metadata and controls
41 lines (36 loc) · 964 Bytes
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
version: "3.8"
services:
migrations:
image: flyway/flyway:latest
command: -url=jdbc:postgresql://db:5432/quoridor -user=${DB_USER} -password=${DB_PASSWORD} -connectRetries=60 migrate
volumes:
- ./migrations/sql:/flyway/sql
depends_on:
- db
db:
image: postgres:latest
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USER}
POSTGRES_DB: quoridor
volumes:
- pgdata-dev:/var/lib/postgresql/data
token-store:
image: redis:latest
command: redis-server --requirepass ${TS_PASSWORD}
ports:
- "6379:6379"
nginx:
image: nginx:latest
ports:
- "80:80"
network_mode: host
volumes:
- ./nginx/dev/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/dev/ssl-params.conf:/etc/nginx/ssl-params.conf
- ./.var/game-api-tls:/etc/nginx/game-api-tls
- ./nginx/certs:/etc/nginx/certs
volumes:
pgdata-dev: