-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (23 loc) · 836 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
27 lines (23 loc) · 836 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
version: '3.8'
services:
gacha:
build: .
container_name: gacha-server
ports:
# Map container port 8080 to host port 80 (HTTP)
- "80:8080"
# Map container port 8443 to host port 443 (HTTPS)
- "443:8443"
volumes:
# Mount your local files directory to the container
# Replace ./files with your desired path if needed
- ./files:/app/files
# Mount your local rules directory to the container
# Replace ./rules with your desired path if needed
- ./rules:/app/rules
# Mount your local certs directory to the container (optional, for TLS)
# Uncomment and replace ./certs with your desired path if using HTTPS
# - ./certs:/app/certs
# Mount config.yaml
- ./config.yaml:/app/config.yaml
restart: unless-stopped