-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
48 lines (41 loc) · 989 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
36
37
38
39
40
41
42
43
44
45
46
47
48
version: "3"
x-chess-pipeline-service: &chess-pipeline-service
restart: no
depends_on:
- chess_pipeline_postgres
- valkey
volumes:
- chess_pipeline_logs:/logs
services:
chess_pipeline:
<<: *chess-pipeline-service
container_name: chess_pipeline
image: chess-pipeline
chess_pipeline_dev:
<<: *chess-pipeline-service
container_name: chess_pipeline_dev
image: chess-pipeline-dev
chess_pipeline_postgres:
image: postgres:16-alpine
container_name: chess_pipeline_postgres
restart: always
ports:
- "127.0.0.1:5432:5432"
env_file:
- .postgres_env
volumes:
- postgres_data:/var/lib/postgresql/data
- ./db:/sql_scripts:ro
- ./db/initdb:/docker-entrypoint-initdb.d:ro
valkey:
image: valkey/valkey:alpine
container_name: valkey
restart: always
ports:
- "127.0.0.1:6379:6379"
volumes:
chess_pipeline_logs:
postgres_data:
networks:
default:
name: main-network