-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (43 loc) · 937 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (43 loc) · 937 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
40
41
42
43
44
45
46
47
version: '3'
services:
caddy:
image: caddy:2-alpine
restart: unless-stopped
ports:
- "80:80"
- "443:443"
environment:
- APP_HOST
depends_on:
- frontend
- api
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:z
- caddy-data:/data
frontend:
image: ghcr.io/riptide-org/website:main
restart: unless-stopped
depends_on:
- api
environment:
- PORT=3000
- HOST=0.0.0.0
- SSR_BASE_URL=http://api:3000/
- BROWSER_BASE_URL=https://${APP_HOST}
api:
image: ghcr.io/riptide-org/central-api:main
restart: unless-stopped
environment:
- PORT=3000
- HOST=0.0.0.0
- DB_URL=/data/riptide.db
- BASE_URL=https://${APP_HOST}/api/v1
- REQUEST_TIMEOUT
- AUTH_TIMEOUT
- PING_INTERVAL
- SERVER_PASS
volumes:
- sqlite-db-data:/data
volumes:
sqlite-db-data:
caddy-data: