run database in test mode when in development mode

This commit is contained in:
Ulf Gebhardt 2021-10-02 12:33:17 +02:00
parent 3042f49d0c
commit 4025c4aff9
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -43,11 +43,13 @@ services:
# DATABASE ##############################################
########################################################
database:
# we always run on prouction here since else the service lingers
# we always run on production here since else the service lingers
# feel free to change this behaviour if it seems useful
#image: gradido/database:test_up
#build:
# target: test_up
# Due to problems with the volume caching the built files
# we changed this to test build. This keeps the service running.
image: gradido/database:test_up
build:
target: test_up
#networks:
# - external-net
# - internal-net