From 4afa513dced3b9ef024bc366b4fc884802730d50 Mon Sep 17 00:00:00 2001 From: Toby Jaffey Date: Mon, 12 Dec 2022 10:26:38 +0000 Subject: Add docker-compose support, so a working development server with HTTPS can be started with: docker-compose build && docker-compose up --- docker-compose.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 docker-compose.yaml (limited to 'docker-compose.yaml') diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..bc4abf7 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,27 @@ +--- +version: '3' + +services: + snac: + build: . + image: snac + container_name: snac + restart: unless-stopped + security_opt: + - no-new-privileges:true + volumes: + - ./data:/data + ports: + - "8001:8001" + + nginx-alpine-ssl: + build: examples/nginx-alpine-ssl + image: examples/nginx-alpine-ssl + container_name: nginx-alpine-ssl + restart: unless-stopped + security_opt: + - no-new-privileges:true + ports: + - "443:443" + - "80:80" + -- cgit v1.2.3