This repository has been archived by the owner on Nov 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.deploy.yml
136 lines (126 loc) · 2.85 KB
/
docker-compose.deploy.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
version: "3.1"
services:
watchtower:
container_name: watchtower
image: containrrr/watchtower
privileged: true
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock:Z
- /root/.docker/config.json:/config.json:Z
command: --label-enable --interval 3600
labels:
- com.centurylinklabs.watchtower.enable=true
# autoheal has been disabled due to issues with the container not being able to start, seems like the author has disabled it
# autoheal:
# container_name: autoheal
# privileged: true
# restart: always
# image: willfarrell/autoheal
# environment:
# - AUTOHEAL_CONTAINER_LABEL=all
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock:Z
database:
image: "postgres:${POSTGRES_VERSION}-alpine"
restart: always
volumes:
- /postgres/website:/var/lib/postgresql/data:Z
networks:
- local
env_file: .env
ports:
- 5432:5432
labels:
- com.centurylinklabs.watchtower.enable=true
pgadmin:
image: dpage/pgadmin4:7.1 # Locked at 7.1 due to authentication issues
env_file: .env
restart: always
networks:
- local
depends_on:
- database
ports:
- 5050:80
labels:
- com.centurylinklabs.watchtower.enable=true
search:
image: "getmeili/meilisearch:v0.25.0"
restart: always
privileged: true
networks:
- local
env_file: .env
volumes:
- /data.ms/:/data.ms/:Z
depends_on:
- database
ports:
- 7700:7700
labels:
- com.centurylinklabs.watchtower.enable=true
core:
depends_on:
- database
image: imagerepo.dsek.se/core:latest
restart: always
ports:
- "4000:4000"
env_file: .env
networks:
- local
- files
frontend:
image: imagerepo.dsek.se/frontend:latest
restart: always
ports:
- "3000:3000"
depends_on:
- core
env_file: .env
app:
image: imagerepo.dsek.se/frontend_app:latest
restart: always
ports:
- "1337:3000"
depends_on:
- core
env_file: .env
environment:
- SERVE_NATIVE_APP=true
minio1:
image: minio/minio:RELEASE.2021-11-24T23-19-33Z
command: server --console-address ':9001' /data
expose:
- "9000"
- "9001"
restart: always
networks:
- files
env_file: .env
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
hostname: minio1
volumes:
- /minio/data1-1:/data:Z
labels:
- com.centurylinklabs.watchtower.enable=true
files:
image: imagerepo.dsek.se/files:latest
restart: always
ports:
- "9000:9000"
networks:
- local
- files
depends_on:
- minio1
networks:
files:
driver: bridge
local:
driver: bridge