Upload files to "Firefly 3"
This commit is contained in:
parent
a046d03aa2
commit
a141f11df4
@ -1,15 +1,44 @@
|
|||||||
services:
|
services:
|
||||||
server:
|
app:
|
||||||
image: gitea/gitea:latest
|
image: fireflyiii/core:latest
|
||||||
container_name: gitea
|
hostname: app
|
||||||
environment:
|
container_name: firefly_iii_core
|
||||||
- USER_UID=1000
|
|
||||||
- USER_GID=1000
|
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- firefly_iii_upload:/var/www/html/storage/upload
|
||||||
- /etc/timezone:/etc/timezone:ro
|
env_file: .env
|
||||||
- /etc/localtime:/etc/localtime:ro
|
networks:
|
||||||
|
- firefly_iii
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- 86:8080
|
||||||
- "222:22"
|
depends_on:
|
||||||
|
- db
|
||||||
|
db:
|
||||||
|
image: mariadb:lts
|
||||||
|
hostname: db
|
||||||
|
container_name: firefly_iii_db
|
||||||
|
restart: always
|
||||||
|
env_file: .db.env
|
||||||
|
networks:
|
||||||
|
- firefly_iii
|
||||||
|
volumes:
|
||||||
|
- firefly_iii_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
|
||||||
|
container_name: firefly_iii_cron
|
||||||
|
command: sh -c "echo \"0 3 * * * wget -qO- http://app:8080/api/v1/cron/REPLACEME\" | crontab - && crond -f -L /dev/stdout"
|
||||||
|
networks:
|
||||||
|
- firefly_iii
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
firefly_iii_upload:
|
||||||
|
firefly_iii_db:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
firefly_iii:
|
||||||
|
driver: bridge
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user