teto_ai/docker-compose.yaml

20 lines
482 B
YAML

version: "3.8"
services:
discord-ai:
build: .
container_name: discord-ai
cap_add:
- SYS_ADMIN
environment:
# supply the user token at runtime:
USER_TOKEN: "${USER_TOKEN}"
volumes:
# live-peek folder so you can grab screenshots outside the container
- ./output:/tmp/output
ports:
- "5901:5901" # VNC
- "3000:3000" # optional HTTP server if you add one
tmpfs:
- /tmp:size=512M
restart: unless-stopped