forked from Zibbp/Ceres
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·50 lines (50 loc) · 1.16 KB
/
docker-compose.yml
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
version: '3.3'
services:
ceres:
container_name: ceres
image: ghcr.io/zibbp/ceres:latest
environment:
- PORT=3000
- DB_HOST=ceres-db
- DB_PORT=5432
- DB_USERNAME=ceres
- DB_PASSWORD=CHANGEME
- DB_DATABASE=ceres
- JWT_SECRET=CHANGEME
- JWT_EXPIRATION_TIME=86400
- CLIENT_ID=CHANGEME
- CLIENT_SECRET=CHANGEME
- API_URL=CHANGEME
volumes:
- /path/to/your/vods:/mnt/vods
- ./logs:/logs
ports:
- 3950:3000
ceres-frontend:
container_name: ceres-frontend
image: ghcr.io/zibbp/ceres-frontend:latest
environment:
- HOST=0.0.0.0
- PORT=3000
- API_URL=CHANGEME
- CDN_URL=CHANGEME
- NODE_ENV=development
ports:
- 3951:3000
ceres-db:
container_name: ceres-db
image: postgres:14
volumes:
- ./pg-data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=CHANGEME
- POSTGRES_USER=ceres
- POSTGRES_DB=ceres
ceres-cdn:
container_name: ceres-cdn
image: nginx
volumes:
- /path/to/nginx.conf:/etc/nginx/nginx.conf:ro
- /path/to/your/vods:/mnt/vods
ports:
- 3952:8080