summaryrefslogtreecommitdiff
path: root/docker-compose.yaml
blob: bc4abf7d7fb2f79c3a615a96030719072eaaa44c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"