media-server-docker-compose/firefly-budget/docker-compose.yml

34 lines
884 B
YAML
Raw Normal View History

2024-07-19 11:55:26 -04:00
services:
app:
image: fireflyiii/core:latest
restart: always
env_file: .env
environment:
- VIRTUAL_HOST=budget.${DOMAIN}
- LETSENCRYPT_HOST=budget.${DOMAIN}
- LETSENCRYPT_EMAIL=${EMAIL}
volumes:
- ./upload:/var/www/html/storage/upload
ports:
- 8008:8080
depends_on:
- db
db:
image: mariadb:lts
restart: always
env_file: .db.env
volumes:
- ./db:/var/lib/mysql
cron:
#
# To make this work, set STATIC_CRON_TOKEN in your .env file or as an environment variable and replace REPLACEME below
# The STATIC_CRON_TOKEN must be *exactly* 32 characters long
#
image: alpine
restart: always
command: sh -c "echo \"0 3 * * * wget -qO- http://app:8080/api/v1/cron/REPLACEME\" | crontab - && crond -f -L /dev/stdout"
networks:
default:
name: nginx-proxy
external: true