forked from koryxio/koryx-serv
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (40 loc) · 916 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (40 loc) · 916 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
version: '3.8'
services:
koryx-serv:
build: .
container_name: koryx-serv
ports:
- "8080:8080"
volumes:
# Mount your files here
- ./public:/app/public:ro
# Optional: mount custom config
# - ./config.json:/app/config.json:ro
environment:
- TZ=UTC
restart: unless-stopped
# Example with HTTPS
koryx-serv-https:
build: .
container_name: koryx-serv-https
ports:
- "8443:8443"
volumes:
- ./public:/app/public:ro
- ./certs:/app/certs:ro
- ./config-https.json:/app/config.json:ro
restart: unless-stopped
profiles:
- https
# Example with authentication
koryx-serv-auth:
build: .
container_name: koryx-serv-auth
ports:
- "8081:8080"
volumes:
- ./private:/app/public:ro
- ./config-auth.json:/app/config.json:ro
restart: unless-stopped
profiles:
- auth