mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2025-01-03 15:34:18 +00:00
Create Docker Compose file
This commit is contained in:
parent
cf8b1d3e35
commit
dcff2b2065
1 changed files with 23 additions and 0 deletions
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal 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
|
Loading…
Reference in a new issue