- include maintenance in production environment

This commit is contained in:
Ulf Gebhardt 2021-01-19 17:24:33 +01:00
parent 7cc003602f
commit b25af045db
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -90,10 +90,26 @@ services:
# TODO: clarify if that is the only thing needed to unlock the Enterprise version
# - NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
# TODO: Remove the playground from production
########################################################
# MAINTENANCE ##########################################
########################################################
maintenance:
image: ocelotsocialnetwork/maintenance:latest
build:
# TODO: Separate from webapp, this must be independent
context: ./webapp
dockerfile: Dockerfile.maintenance
networks:
- external-net
ports:
- 5000:80
networks:
external-net:
internal-net:
internal: true
volumes:
backend_uploads:
neo4j_data: