2023-10-22 16:57:54 +02:00
|
|
|
version: '2.2'
|
|
|
|
services:
|
|
|
|
shlink:
|
|
|
|
image: shlinkio/shlink:stable
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
TZ: "Europe/Amsterdam"
|
|
|
|
DEFAULT_DOMAIN: via.ixvd.net
|
|
|
|
DB_DRIVER: maria
|
|
|
|
DB_USER: shlink
|
|
|
|
DB_NAME: shlink
|
|
|
|
DB_PASSWORD: shlink
|
|
|
|
DB_HOST: shlink-db
|
|
|
|
env_file:
|
2023-10-22 17:02:01 +02:00
|
|
|
- /etc/ixvd/secrets/env/shlink.env
|
2023-10-22 16:57:54 +02:00
|
|
|
depends_on:
|
|
|
|
- shlink-db
|
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
- internal
|
|
|
|
|
|
|
|
shlink-db:
|
|
|
|
image: mariadb:10.8
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
MARIADB_ROOT_PASSWORD: <MARIADB_ROOT_PASSWORD>
|
|
|
|
MARIADB_DATABASE: shlink
|
|
|
|
MARIADB_USER: shlink
|
|
|
|
MARIADB_PASSWORD: shlink
|
|
|
|
volumes:
|
|
|
|
- /srv/shlink/data:/var/lib/mysql
|
|
|
|
networks:
|
|
|
|
- internal
|