-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
25 lines (23 loc) · 825 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
25 lines (23 loc) · 825 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
# This is a sample configuration file for a production environment. Use production override files for customization.
services:
pygamecommunitybot:
build:
context: .
dockerfile: Dockerfile
image: pcbot-main:latest
container_name: pcbot-main
restart: unless-stopped
stop_signal: SIGINT
environment:
- TOKEN=${TOKEN:-} # A string representation of a discord bot token
- CONFIG_PY=${CONFIG_PY:-} # A string representation of a config.py file
- LOCALCONFIG_PY=${LOCALCONFIG_PY:-} # A string representation of a localconfig.py file
volumes:
- ${ENV_DIR}:/app/env/ # Bind mount for environment and config files
- pcbot-logs-volume:/app/logs/
- pcbot-db-volume:/app/db/
tty: true
volumes:
pcbot-env-volume:
pcbot-logs-volume:
pcbot-db-volume: