observer-bot/docker-compose.yml

36 lines
741 B
YAML
Raw Normal View History

2023-04-22 08:53:47 +00:00
version: "2.2"
networks:
p2pool-observer-bot:
external: false
volumes:
data:
external: false
services:
bot:
build:
context: ./
dockerfile: ./Dockerfile
args:
- GOPROXY=${GOPROXY}
restart: always
environment:
- BOT_PASSWORD=${BOT_PASSWORD}
- PLEROMA_COOKIE=${PLEROMA_COOKIE}
security_opt:
- no-new-privileges:true
2023-04-25 06:34:17 +00:00
volumes:
- data:/data:rw
2023-04-22 08:53:47 +00:00
networks:
- p2pool-observer-bot
command: >-
/usr/bin/bot
2023-04-25 06:34:17 +00:00
-db /data/subscriptions.db
2023-04-22 08:53:47 +00:00
-irc-host "${IRC_HOST}"
-irc-port "${IRC_PORT}"
-bot-nick "${BOT_NICK}"
-bot-user "${BOT_USER}"
-pleroma-host "${PLEROMA_HOST}"
-channels "${CHANNELS}"
2023-04-22 08:56:59 +00:00
${EXTRA_ARGS}