1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-10-16 17:47:29 +00:00
patched-porobot/docker-compose.yml
2022-12-24 04:08:22 +01:00

27 lines
599 B
YAML

# To be used in Portainer
# Requires https://hub.docker.com/r/mochoa/s3fs-volume-plugin to be installed
version: "3.9"
volumes:
poro_cards:
driver: s3fs
driver_opts:
s3fsopts: >-
url=$S3FS_URL,
passwd_file=$S3FS_PASSWD_FILE,
use_path_request_style
services:
telegram:
image: "ghcr.io/steffo99/patched-porobot:latest"
command: "patched_porobot_telegram"
restart: unless-stopped
volumes:
- "poro_cards:/usr/src/patched_porobot/data:r"
env_file:
- stack.env
deploy:
resources:
limits:
memory: 16M