-
Notifications
You must be signed in to change notification settings - Fork 377
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
62 lines (51 loc) · 1.66 KB
/
docker-compose.yml
File metadata and controls
62 lines (51 loc) · 1.66 KB
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
# Images are pushed to both Docker Hub and Github Container Registry. If you're using Github Container Registry, you can change the image tag to use the Github Container Registry.
# For example, if you want to use the image from Github Container Registry, you can change the image tag from oneuptime/dashboard:latest to ghcr.io/oneuptime/dashboard:latest
x-common-depends-on: &common-depends-on
postgres:
condition: service_healthy
redis:
condition: service_healthy
clickhouse:
condition: service_healthy
services:
redis:
extends:
file: ./docker-compose.base.yml
service: redis
clickhouse:
extends:
file: ./docker-compose.base.yml
service: clickhouse
postgres:
ports:
- "5400:5432" # for access to postgres for backups. If you don't need backup, you can comment this line out to make it more secure.
extends:
file: ./docker-compose.base.yml
service: postgres
app:
image: oneuptime/app:${APP_TAG}
extends:
file: ./docker-compose.base.yml
service: app
depends_on:
<<: *common-depends-on
probe-1:
image: oneuptime/probe:${APP_TAG}
extends:
file: ./docker-compose.base.yml
service: probe-1
depends_on:
<<: *common-depends-on
ingress:
image: oneuptime/nginx:${APP_TAG}
extends:
file: ./docker-compose.base.yml
service: ingress
depends_on:
<<: *common-depends-on
volumes:
postgres:
clickhouse:
networks:
oneuptime:
driver: bridge