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:30:56 +00:00
|
|
|
- "cards:/usr/src/patched_porobot/data:r"
|
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
|