feat: Adds shlink web client.

This commit is contained in:
2025-03-20 17:12:41 -04:00
parent 62923b91cb
commit 9e155efd49
2 changed files with 15 additions and 7 deletions

View File

@@ -15,6 +15,19 @@ services:
security_opt:
- no-new-privileges:true
shlink_web:
image: docker.io/shlinkio/shlink-web-client:latest
container_name: shlink_web
environment:
SHLINK_SERVER_URL: "https://${DEFAULT_DOMAIN}"
SHLINK_SERVER_API_KEY: ${API_KEY}
ports:
- ${SHLINK_WEB_PORT}:8080
networks:
- proxy
security_opt:
- no-new-privileges:true
shlink_postgres:
image: docker.io/postgres:17-alpine
container_name: shlink_postgres

View File

@@ -10,13 +10,8 @@ DB_NAME=shlink
DB_USER=shlink
DB_PASSWORD="super-secret"
DB_PORT=5432
# Set these to owner of the database volume.
# These also need to be in /etc/passwd of the host for
# postgres to startup correctly.
DB_USER_UID=1000
DB_USER_GID=1000
# Other custom variables.
SHLINK_PORT=8880
DB_LOCATION=":/var/nfs/shared/<mnt>"
NFS_ADDR=nas.local
SHLINK_WEB_PORT=8881
API_KEY="<shlink-api-key>"