diff options
| author | grunfink <grunfink@noreply.codeberg.org> | 2022-12-13 08:15:52 +0000 |
|---|---|---|
| committer | grunfink <grunfink@noreply.codeberg.org> | 2022-12-13 08:15:52 +0000 |
| commit | 1eb5c7a6e2f5436c8f0be77acc06672a5f24562a (patch) | |
| tree | 51098e478054a66439e98dfab89cbbedf5d9f5c0 /docker-compose.yaml | |
| parent | aa82e14bc7e7a3770feb23446d1a843d97213ccf (diff) | |
| parent | 4afa513dced3b9ef024bc366b4fc884802730d50 (diff) | |
Merge pull request 'Add docker-compose support' (#22) from tobyjaffey/snac2:docker into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/22
Diffstat (limited to 'docker-compose.yaml')
| -rw-r--r-- | docker-compose.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
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" + |