diff options
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 @@ | |||
| 1 | --- | ||
| 2 | version: '3' | ||
| 3 | |||
| 4 | services: | ||
| 5 | snac: | ||
| 6 | build: . | ||
| 7 | image: snac | ||
| 8 | container_name: snac | ||
| 9 | restart: unless-stopped | ||
| 10 | security_opt: | ||
| 11 | - no-new-privileges:true | ||
| 12 | volumes: | ||
| 13 | - ./data:/data | ||
| 14 | ports: | ||
| 15 | - "8001:8001" | ||
| 16 | |||
| 17 | nginx-alpine-ssl: | ||
| 18 | build: examples/nginx-alpine-ssl | ||
| 19 | image: examples/nginx-alpine-ssl | ||
| 20 | container_name: nginx-alpine-ssl | ||
| 21 | restart: unless-stopped | ||
| 22 | security_opt: | ||
| 23 | - no-new-privileges:true | ||
| 24 | ports: | ||
| 25 | - "443:443" | ||
| 26 | - "80:80" | ||
| 27 | |||