From edc81c810575fa7c1d21b01cdeea8fcbdcafef9b Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 19 Nov 2020 17:10:03 +0000 Subject: [PATCH] docker-compose.yml: Update for new multi-container architecture --- docker-compose.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f30a330..1374944 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,15 +1,29 @@ version: "3.3" services: - snikket: - image: snikket:latest + snikket_web: + image: snikket/snikket-web-proxy:dev + env_file: snikket.conf network_mode: host volumes: - - type: "volume" - source: snikket_data - target: /snikket + - snikket_data:/snikket + - acme_challenges:/usr/share/nginx/html/.well-known/acme-challenge + restart: "unless-stopped" + snikket_certs: + image: snikket/snikket-cert-manager:dev + env_file: snikket.conf + volumes: + - /var/lib/snikket:/snikket + - acme_challenges:/var/www/.well-known/acme-challenge + restart: "unless-stopped" + snikket_server: + image: snikket/snikket:dev + network_mode: host + volumes: + - /var/lib/snikket:/snikket env_file: snikket.conf restart: "unless-stopped" volumes: + acme_challenges: snikket_data: