mirror of
https://git.myvelabs.com/docker/docker-compose.yaml.git
synced 2025-12-17 21:26:17 +00:00
Reboot
This commit is contained in:
parent
b7336a277f
commit
e650d80b1e
58 changed files with 1747 additions and 0 deletions
14
shlink/.env
Normal file
14
shlink/.env
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Environment file for docker-compose.yaml
|
||||
# Generate new passwords with:
|
||||
# openssl rand -hex 32
|
||||
|
||||
# Fill in registry
|
||||
REGISTRY=
|
||||
|
||||
# Shlink
|
||||
SHLINK_WEBUI_PORT=
|
||||
SHLINK_PORT=
|
||||
SHLINK_URL=
|
||||
SHLINK_DBNAME=
|
||||
SHLINK_DBUSER=
|
||||
SHLINK_DBPASS=
|
||||
62
shlink/docker-compose.yaml
Normal file
62
shlink/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
services:
|
||||
|
||||
# https://github.com/shlinkio/shlink/tree/develop
|
||||
shlink-webui:
|
||||
image: ${REGISTRY}/shlink-web-client
|
||||
container_name: shlink-webui
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${SHLINK_WEBUI_PORT:-8081}:8080
|
||||
volumes:
|
||||
- ./servers.json:/usr/share/nginx/html/servers.json
|
||||
networks:
|
||||
- shlink
|
||||
|
||||
shlink:
|
||||
image: ${REGISTRY}/shlink
|
||||
container_name: shlink
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${SHLINK_PORT:-8080}:8080
|
||||
environment:
|
||||
DEFAULT_DOMAIN: ${SHLINK_URL:-http://localhost:${SHLINK_PORT:-8080}}
|
||||
BASE_PATH: ${SHLINK_BASE_PATH:-/}
|
||||
IS_HTTPS_ENABLED: true
|
||||
DISABLE_TRACKING: true
|
||||
|
||||
DB_DRIVER: postgres
|
||||
DB_HOST: shlink-postgresql
|
||||
DB_NAME: ${SHLINK_DBNAME:-shlink}
|
||||
DB_USER: ${SHLINK_DBUSER:-shlink}
|
||||
DB_PASSWORD: ${SHLINK_DBPASS:-shlink}
|
||||
|
||||
REDIS_SERVERS: redis://shlink-redis:6379
|
||||
REDIS_PUB_SUB_ENABLED: true
|
||||
networks:
|
||||
- shlink
|
||||
|
||||
shlink-postgresql:
|
||||
image: ${REGISTRY}/postgres
|
||||
container_name: shlink-postgresql
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: ${SHLINK_DBNAME:-shlink}
|
||||
POSTGRES_USER: ${SHLINK_DBUSER:-shlink}
|
||||
POSTGRES_PASSWORD: ${SHLINK_DBPASS:-shlink}
|
||||
volumes:
|
||||
- ./sql:/var/lib/postgresql/data:rw
|
||||
networks:
|
||||
- shlink
|
||||
|
||||
shlink-redis:
|
||||
image: ${REGISTRY}/valkey
|
||||
container_name: shlink-redis
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
networks:
|
||||
- shlink
|
||||
|
||||
networks:
|
||||
shlink:
|
||||
external: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue