-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
97 lines (89 loc) · 2.15 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
97
version: '3.8'
services:
minio:
image: minio/minio
ports:
- "9000:9000"
- "9001:9001"
volumes:
- ./docker-volume/minio-storage:/data
environment:
MINIO_ROOT_USER: root
MINIO_ROOT_PASSWORD: test
command: server --console-address ":9001" /data
db:
image: postgres:alpine
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=immortalis
ports:
- '5432:5432'
volumes:
- ./docker-volumes/db:/var/lib/postgresql/data
pgadmin:
container_name: pgadmin4_container
depends_on:
- db
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: root
ports:
- "5050:80"
# runs the DB migrations
migrator:
image: ghcr.io/domi2120/immortalis/immortalis-backend-common
depends_on:
- db
build:
context: immortalis-backend
target: immortalis-backend-common
env_file:
- ".docker-compose.env"
tracker:
image: ghcr.io/domi2120/immortalis/immortalis-backend-tracker
depends_on:
- migrator
build:
context: immortalis-backend
target: immortalis-backend-tracker
env_file:
- ".docker-compose.env"
api:
image: ghcr.io/domi2120/immortalis/immortalis-backend-api
depends_on:
- migrator
build:
context: immortalis-backend
target: immortalis-backend-api
ports:
- "8080:8080"
env_file:
- ".docker-compose.env"
volumes:
- ./docker-volumes/downloads:/downloads
archiver:
image: ghcr.io/domi2120/immortalis/immortalis-backend-archiver
depends_on:
- migrator
build:
context: immortalis-backend
target: immortalis-backend-archiver
env_file:
- ".docker-compose.env"
volumes:
- ./docker-volumes/downloads:/downloads
client:
image: ghcr.io/domi2120/immortalis/immortalis-client
depends_on:
- api
build:
context: ./immortalis-client
dockerfile: ./Dockerfile
ports:
- "3000:80"
volumes:
- "./nginx.conf:/etc/nginx/nginx.conf"