mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Docker-Compose Point To Dockerhub Builds
This commit is contained in:
33
docker-compose.yaml
Normal file
33
docker-compose.yaml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
version: '2'
|
||||||
|
services:
|
||||||
|
firefly-db:
|
||||||
|
image: 'mysql:8'
|
||||||
|
environment:
|
||||||
|
- MYSQL_DATABASE=firefly_db
|
||||||
|
- MYSQL_USER=firefly_db
|
||||||
|
- MYSQL_PASSWORD=firefly_db_secret
|
||||||
|
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
||||||
|
volumes:
|
||||||
|
- firefly-storage:/var/lib/mysql
|
||||||
|
|
||||||
|
firefly-app:
|
||||||
|
image: 'jc5x/firefly-iii'
|
||||||
|
environment:
|
||||||
|
- FF_DB_HOST=firefly-db
|
||||||
|
- FF_DB_NAME=firefly_db
|
||||||
|
- FF_DB_USER=firefly_db
|
||||||
|
- FF_DB_PASSWORD=firefly_db_secret
|
||||||
|
- FF_APP_KEY=SomeRandomStringOf32CharsExactly
|
||||||
|
- FF_APP_ENV=local
|
||||||
|
ports:
|
||||||
|
- "9001:80"
|
||||||
|
links:
|
||||||
|
- firefly-db
|
||||||
|
volumes:
|
||||||
|
- firefly-app-storage:/var/www/firefly-iii/storage
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
firefly-storage:
|
||||||
|
driver: local
|
||||||
|
firefly-app-storage:
|
||||||
|
driver: local
|
Reference in New Issue
Block a user