-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
39 lines (37 loc) · 844 Bytes
/
compose.yaml
File metadata and controls
39 lines (37 loc) · 844 Bytes
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
services:
db:
image: postgres:17
restart: unless-stopped
container_name: letsenroll-db
env_file: ./config/.env
ports:
- "127.0.0.1:5430:5432" # So we can connect to it using an SSH tunnel via localhost:5430
networks:
- letsenroll
volumes:
- db-data:/var/lib/postgresql/data
api:
image: ghcr.io/freya022/letsenroll-api:latest
restart: unless-stopped
container_name: letsenroll-api
networks:
- letsenroll
- caddy
volumes:
- ./config:/config
- ./logs/api:/logs
bot:
image: ghcr.io/freya022/letsenroll-bot:latest
restart: unless-stopped
container_name: letsenroll-bot
networks:
- letsenroll
volumes:
- ./config:/config
- ./logs/bot:/logs
networks:
letsenroll: {}
caddy:
external: true
volumes:
db-data: