mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06:19 +00:00
fix(docker-compose.yml): add build configuration for botator service feat(docker-compose.yml): add env_file configuration for botator service
17 lines
359 B
YAML
17 lines
359 B
YAML
# Docker compose sample file
|
|
|
|
version: '3'
|
|
services:
|
|
botator:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
restart: always
|
|
volumes:
|
|
- ./database:/Botator/database
|
|
environment:
|
|
- PERSPECTIVE_API_KEY=your_api_key
|
|
- WEBHOOK_URL=https://yourdomain.com/botator
|
|
- DISCORD_TOKEN=your_token
|
|
env_file:
|
|
- .env |