From b25af045db1469644bff641d5e88c476ab174f68 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 19 Jan 2021 17:24:33 +0100 Subject: [PATCH] - include maintenance in production environment --- docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 153f2cd30..5e3349df8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: \ No newline at end of file