mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +00:00
28 lines
645 B
YAML
28 lines
645 B
YAML
# To be used in Portainer
|
|
# Requires https://hub.docker.com/r/mochoa/s3fs-volume-plugin to be installed
|
|
|
|
version: "3.9"
|
|
|
|
volumes:
|
|
cards:
|
|
driver: mochoa/s3fs-volume-plugin:latest
|
|
driver_opts:
|
|
s3fsopts: >-
|
|
url=$S3FS_URL,
|
|
passwd_file=$S3FS_PASSWD_FILE,
|
|
use_path_request_style
|
|
name: "porobot-storage"
|
|
|
|
services:
|
|
telegram:
|
|
image: "ghcr.io/steffo99/patched-porobot:latest"
|
|
command: "patched_porobot_telegram"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- "cards:/usr/src/patched_porobot/data:r"
|
|
env_file:
|
|
- stack.env
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 16M
|