1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-23 01:54:22 +00:00
patched-porobot/docker-compose.yml

29 lines
643 B
YAML
Raw Normal View History

2022-12-24 03:06:39 +00:00
# To be used in Portainer
# Requires https://hub.docker.com/r/mochoa/s3fs-volume-plugin to be installed
version: "3.9"
volumes:
2022-12-24 03:30:56 +00:00
cards:
2022-12-24 03:27:33 +00:00
driver: mochoa/s3fs-volume-plugin:latest
2022-12-24 03:06:39 +00:00
driver_opts:
s3fsopts: >-
url=$S3FS_URL,
passwd_file=$S3FS_PASSWD_FILE,
use_path_request_style
2022-12-24 03:34:42 +00:00
name: "porobot-storage"
2022-12-24 03:06:39 +00:00
services:
telegram:
image: "ghcr.io/steffo99/patched-porobot:latest"
command: "patched_porobot_telegram"
restart: unless-stopped
volumes:
2022-12-24 03:40:16 +00:00
- "cards:/usr/src/patched_porobot/data"
2022-12-24 03:06:39 +00:00
env_file:
- stack.env
2022-12-24 03:08:22 +00:00
deploy:
resources:
limits:
memory: 16M