-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml.example
19 lines (15 loc) · 1.09 KB
/
docker-compose.yaml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
services:
bot:
# If you want to build yourself (check README Docker section)
image: chouettebot:tag # Name of the image you built
# If you want to get the image from docker hub
image: gylfirst/chouettebot:tag # Change tag to get a specific version
container_name: "chouette-bot" # Name of the container you want to display
env_file: /path/to/.env # Path to your .env file
ports: # Expose port for web service
- "8080:8080" # Exposed port:Inner port
volumes:
- /path/to/logs:/usr/src/chouettebot/logs # Path to logs
- /path/to/data:/usr/src/chouettebot/data # Path to data storage
restart: unless-stopped # Restart policy (here it will always restart unless you stopped it)
pull_policy: always # Pull the image before the application start