49 lines
1.0 KiB
YAML
49 lines
1.0 KiB
YAML
---
|
|
|
|
# Shlink
|
|
# Web link URL shortener
|
|
# Created by Alejandro Celaya
|
|
# ↳ https://github.com/shlinkio/shlink
|
|
|
|
services:
|
|
shlink-server:
|
|
image: shlinkio/shlink:latest
|
|
container_name: shlink
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
- proxy
|
|
# ports:
|
|
# - 8080:8080
|
|
|
|
environment:
|
|
PUID: 1000
|
|
PGID: 1000
|
|
DEFAULT_DOMAIN: 'links.mydomain.net'
|
|
IS_HTTPS_ENABLED: false
|
|
GEOLITE_LICENSE_KEY: ${GEO_KEY}
|
|
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /home/fxequals/docker/shlink/data:/data
|
|
|
|
shlink-web-client:
|
|
image: shlinkio/shlink-web-client
|
|
container_name: shlink-web-client
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
- proxy
|
|
|
|
environment:
|
|
PUID: 1000
|
|
PGID: 1000
|
|
SHLINK_SERVER_URL: 'https://shlinks.mydomain.net'
|
|
SHLINK_SERVER_API_KEY: ${API_KEY} # <-- See Documentation
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
|
|
# Documentation available at https://shlink.io/documentation/install-docker-image/ |