soapbox/compose.yaml

16 lines
466 B
YAML
Raw Normal View History

# Alternativ til run.sh: podman compose up -d
# Leser innstillinger fra .env (kopier .env.example).
services:
soapbox:
image: localhost/soapbox:latest
container_name: soapbox
restart: always
ports:
# Alle adresser (v4+v6). Sett f.eks. "127.0.0.1:${SOAPBOX_PORT:-8080}:8080" for å begrense.
- "${SOAPBOX_PORT:-8080}:8080"
volumes:
- ${SOAPBOX_VOLUME:-soapbox-data}:/data:Z
env_file:
- .env
volumes:
soapbox-data: