-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (59 loc) · 1.42 KB
/
docker-compose.yml
File metadata and controls
64 lines (59 loc) · 1.42 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
name: class-compass
include:
- ./docker-compose.ory.yml
- ./docker-compose.storage.yml
services:
# Automated Update Agent
watchtower:
image: containrrr/watchtower
container_name: watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${HOME}/.docker/config.json:/config.json
environment:
# Check every 10 seconds
- WATCHTOWER_POLL_INTERVAL=10
# Only update containers that have the "enable" label set to true
- WATCHTOWER_LABEL_ENABLE=true
# Delete old images to save disk space
- WATCHTOWER_CLEANUP=true
server:
container_name: class-compass-server
image: ghcr.io/shestakov-dev/class-compass-server:latest
env_file:
- ./config/env/server.env
expose:
- "8393"
restart: unless-stopped
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
kratos:
condition: service_started
keto:
condition: service_started
networks:
- service-network
- app-data-network
labels:
- "com.centurylinklabs.watchtower.enable=true"
frontend:
container_name: class-compass-frontend
image: ghcr.io/shestakov-dev/class-compass-frontend:latest
env_file:
- ./config/env/frontend.env
expose:
- "5173"
restart: unless-stopped
labels:
- "com.centurylinklabs.watchtower.enable=true"
networks:
- service-network
networks:
service-network:
driver: bridge
app-data-network:
driver: bridge