1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-10-16 17:47:29 +00:00

Create Docker Compose file

This commit is contained in:
Steffo 2022-12-24 04:06:39 +01:00
parent cf8b1d3e35
commit dcff2b2065
Signed by: steffo
GPG key ID: 6965406171929D01

23
docker-compose.yml Normal file
View file

@ -0,0 +1,23 @@
# 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