-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
97 lines (95 loc) · 2.05 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
version: '3.4'
services:
redis:
image: "redis/redis-stack:latest"
volumes:
- redis_data:/data
ports:
- "6379:6379"
- "8001:8001"
environment:
REDIS_ARGS: "--appendonly yes --aof-use-rdb-preamble yes"
central:
image: "ghcr.io/fnatte/pizza-tribes-central:latest"
volumes:
- central_data:/data
build:
context: .
target: central
env_file: .env
environment:
PORT: 8080
SQLITE_DSN: /data/pizzatribes.db
api:
image: "ghcr.io/fnatte/pizza-tribes-api:latest"
build:
context: .
target: api
env_file: .env
environment:
PORT: 8080
REDIS_ADDR: "redis:6379"
gamelet:
image: "ghcr.io/fnatte/pizza-tribes-gamelet:latest"
build:
context: .
target: gamelet
env_file: .env
environment:
PORT: 8080
REDIS_ADDR: "redis:6379"
worker:
image: "ghcr.io/fnatte/pizza-tribes-worker:latest"
build:
context: .
target: worker
env_file: .env
environment:
REDIS_ADDR: "redis:6379"
updater:
image: "ghcr.io/fnatte/pizza-tribes-updater:latest"
build:
context: .
target: updater
env_file: .env
environment:
REDIS_ADDR: "redis:6379"
webapp:
image: "ghcr.io/fnatte/pizza-tribes-webapp:latest"
build:
context: .
target: webapp
migrator:
image: "ghcr.io/fnatte/pizza-tribes-migrator:latest"
volumes:
- central_data:/data
build:
context: .
target: migrator
environment:
REDIS_ADDR: "redis:6379"
SQLITE_DSN: /data/pizzatribes.db
admin:
image: "ghcr.io/fnatte/pizza-tribes-admin:latest"
volumes:
- central_data:/data
build:
context: .
target: admin
environment:
REDIS_ADDR: "redis:6379"
SQLITE_DSN: /data/pizzatribes.db
front:
image: "ghcr.io/fnatte/pizza-tribes-front:latest"
env_file: .env
build:
context: .
target: front
ports:
- "8080:8080"
volumes:
- caddy_data:/data
volumes:
redis_data:
caddy_data:
central_data: