26 lines
673 B
YAML
26 lines
673 B
YAML
# Generic setup: the site on 127.0.0.1:8080. Put the reverse proxy (Traefik labels, networks)
|
|
# in a compose.override.yaml and drop the port mapping there if the proxy reaches the
|
|
# container over a Docker network.
|
|
services:
|
|
web:
|
|
build:
|
|
context: .
|
|
args:
|
|
SITE_URL: ${SITE_URL:-https://proton-gallery.narl.io}
|
|
image: proton-gallery-website:latest
|
|
env_file:
|
|
- path: .env
|
|
required: false
|
|
ports:
|
|
- "127.0.0.1:8080:8080"
|
|
restart: unless-stopped
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "1m"
|
|
max-file: "3"
|