fix(google-palm-process.py): replace actual API key with placeholder 'S'

fix(docker-compose.yml): add build configuration for botator service
feat(docker-compose.yml): add env_file configuration for botator service
This commit is contained in:
Paillat
2023-07-14 17:53:59 +02:00
parent deb27ea5e4
commit a0e387b2fb
2 changed files with 7 additions and 4 deletions

View File

@@ -3,12 +3,15 @@
version: '3'
services:
botator:
image: botator/botator:latest
container_name: 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
- DISCORD_TOKEN=your_token
env_file:
- .env