From 86381a1474d87282a9b268ac5d03b66bbce5a28a Mon Sep 17 00:00:00 2001 From: Justin Date: Sun, 29 Oct 2017 21:12:11 -0500 Subject: [PATCH] Docker-Compose Point To Dockerhub Builds --- docker-compose.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docker-compose.yaml diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000000..adad39769f --- /dev/null +++ b/docker-compose.yaml @@ -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 \ No newline at end of file