mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
4afa513dce
docker-compose build && docker-compose up
28 lines
579 B
YAML
28 lines
579 B
YAML
---
|
|
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"
|
|
|