feat: Adds shlink web client.
This commit is contained in:
13
compose.yaml
13
compose.yaml
@@ -15,6 +15,19 @@ services:
|
|||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- 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:
|
shlink_postgres:
|
||||||
image: docker.io/postgres:17-alpine
|
image: docker.io/postgres:17-alpine
|
||||||
container_name: shlink_postgres
|
container_name: shlink_postgres
|
||||||
|
|||||||
@@ -10,13 +10,8 @@ DB_NAME=shlink
|
|||||||
DB_USER=shlink
|
DB_USER=shlink
|
||||||
DB_PASSWORD="super-secret"
|
DB_PASSWORD="super-secret"
|
||||||
DB_PORT=5432
|
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.
|
# Other custom variables.
|
||||||
SHLINK_PORT=8880
|
SHLINK_PORT=8880
|
||||||
DB_LOCATION=":/var/nfs/shared/<mnt>"
|
SHLINK_WEB_PORT=8881
|
||||||
NFS_ADDR=nas.local
|
API_KEY="<shlink-api-key>"
|
||||||
|
|||||||
Reference in New Issue
Block a user