-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
95 lines (95 loc) · 2.57 KB
/
docker-compose.yml
File metadata and controls
95 lines (95 loc) · 2.57 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
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
---
services:
geocml-task-scheduler:
build:
context: .
dockerfile: ./Dockerfiles/Dockerfile.geocml-task-scheduler
image: ghcr.io/geocml/geocml-base-deployment:task-scheduler
hostname: geocml-task-scheduler
environment:
PATH: /geocml-task-scheduler/tabor/:$PATH
DRGON_API_KEY: ${DRGON_API_KEY}
DRGON_HOST: ${DRGON_HOST}
GEOCML_DEPLOYMENT_HOST: ${GEOCML_DEPLOYMENT_HOST}
GEOCML_POSTGRES_PASSWORD: ${GEOCML_POSTGRES_PASSWORD}
GEOCML_POSTGRES_ADMIN_PASSWORD: ${GEOCML_POSTGRES_ADMIN_PASSWORD}
networks:
- geocml-network
volumes:
- type: bind
source: ./persistence-layer
target: /Persistence
- "/var/run/docker.sock:/var/run/docker.sock"
healthcheck:
test: pgrep python3.11
interval: 30s
retries: 60
depends_on:
geocml-desktop:
condition: service_healthy
geocml-desktop:
build:
context: .
dockerfile: ./Dockerfiles/Dockerfile.geocml-desktop
image: ghcr.io/geocml/geocml-base-deployment:desktop
ports:
- "${GEOCML_DESKTOP_PORT}:10000"
volumes:
- type: bind
source: ./persistence-layer
target: /Persistence
hostname: geocml-desktop
environment:
XPRA_PASSWORD: ${GEOCML_DESKTOP_PASSWORD}
networks:
- geocml-network
healthcheck:
test: pgrep xpra
interval: 30s
retries: 60
depends_on:
geocml-postgres:
condition: service_healthy
geocml-postgres:
build:
context: .
dockerfile: ./Dockerfiles/Dockerfile.geocml-postgres
image: ghcr.io/geocml/geocml-base-deployment:postgres
ports:
- "${GEOCML_POSTGRES_PORT}:5432"
hostname: geocml-postgres
environment:
GEOCML_POSTGRES_PASSWORD: ${GEOCML_POSTGRES_PASSWORD}
GEOCML_POSTGRES_ADMIN_PASSWORD: ${GEOCML_POSTGRES_ADMIN_PASSWORD}
networks:
- geocml-network
healthcheck:
test: pg_isready -d geocml_db
interval: 30s
retries: 60
geocml-server:
build:
context: .
dockerfile: ./Dockerfiles/Dockerfile.geocml-server
image: ghcr.io/geocml/geocml-base-deployment:server
ports:
- "${GEOCML_SERVER_PORT}:80"
volumes:
- type: bind
source: ./persistence-layer
target: /Persistence
hostname: geocml-server
networks:
- geocml-network
healthcheck:
test: pgrep apache2
interval: 30s
retries: 60
depends_on:
geocml-postgres:
condition: service_healthy
networks:
geocml-network:
external: true
name: ${GEOCML_NETWORK_NAME}
driver: bridge