Update docker files.

This commit is contained in:
James Cole 2019-09-03 11:43:54 +02:00
parent 8b0903c32e
commit 7cee183f1c
2 changed files with 7 additions and 8 deletions

View File

@ -39,13 +39,12 @@ APP_LOG_LEVEL=notice
# Database credentials. Make sure the database exists. I recommend a dedicated user for Firefly III
# For other database types, please see the FAQ: http://firefly-iii.readthedocs.io/en/latest/support/faq.html
DB_CONNECTION=mysql
# If you use DOCKER COMPOSE, change this variable to "firefly_iii_db"
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
DB_CONNECTION=pgsql
DB_HOST=firefly_iii_db
DB_PORT=5432
DB_DATABASE=firefly
DB_USERNAME=firefly
DB_PASSWORD=secret_firefly_password
# PostgreSQL supports SSL. You can configure it here.
PGSQL_SSL_MODE=prefer

View File

@ -4,7 +4,7 @@ networks:
driver: bridge
services:
firefly_iii_app:
image: jc5x/firefly-iii:develop
image: jc5x/firefly-iii:latest
depends_on:
- firefly_iii_db
networks: