Unnecessary flexibility — port doesn't need to be configurable. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
19 lines
680 B
YAML
19 lines
680 B
YAML
services:
|
|
honey-links:
|
|
# image: used when pulling on the server (docker compose pull && up -d).
|
|
# build: lets `docker compose build` / `docker compose push` create and
|
|
# publish that same image locally, instead of manual docker
|
|
# build/tag/push commands.
|
|
image: gitea.honeyy.duckdns.org/website/honey-links:latest
|
|
build: .
|
|
ports:
|
|
- "8080:80"
|
|
environment:
|
|
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
|
- SECRET_KEY=${SECRET_KEY}
|
|
# Set to "false" only for local http-only testing without a TLS proxy in front.
|
|
- COOKIE_SECURE=${COOKIE_SECURE:-true}
|
|
volumes:
|
|
- ./data:/app/data
|
|
restart: unless-stopped
|