-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
docker-compose.yml
53 lines (48 loc) · 1.06 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
version: "3.4"
volumes:
pgdata:
services:
dragaliaapi:
image: dragaliaapi
container_name: dragaliaapi
hostname: dragaliaapi
build:
context: .
dockerfile: DragaliaAPI/DragaliaAPI/Dockerfile
environment:
- PostgresOptions__Username=$POSTGRES_USER
- PostgresOptions__Password=$POSTGRES_PASSWORD
- PostgresOptions__Database=$POSTGRES_DB
ports:
- "80:8080"
links:
- postgres
env_file:
- .env
profiles: ["dragaliaapi"]
photonstatemanager:
hostname: photonstatemanager
image: photonstatemanager
build:
context: .
dockerfile: PhotonStateManager/DragaliaAPI.Photon.StateManager/Dockerfile
ports:
- "5001:8080"
env_file:
- .env
profiles: ["photonstatemanager"]
postgres:
hostname: postgres
image: postgres:16
env_file:
- .env
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
redis:
hostname: redis
image: redis/redis-stack:7.2.0-v6
ports:
- "6379:6379"
- "8001:8001"