diff --git a/lsio/bookstack/docker-compose.yaml b/lsio/bookstack/docker-compose.yaml index b652200..e09af0d 100644 --- a/lsio/bookstack/docker-compose.yaml +++ b/lsio/bookstack/docker-compose.yaml @@ -10,7 +10,7 @@ version: "2" services: bookstack: - image: ghcr.io/linuxserver/bookstack + image: lscr.io/linuxserver/bookstack container_name: bookstack environment: - PUID=1000 @@ -28,7 +28,7 @@ services: depends_on: - bookstack_db bookstack_db: - image: ghcr.io/linuxserver/mariadb + image: lscr.io/linuxserver/mariadb container_name: bookstack_db environment: - PUID=1000 diff --git a/lsio/hedgedoc/docker-compose.yaml b/lsio/hedgedoc/docker-compose.yaml index 8f14b91..2b2b265 100644 --- a/lsio/hedgedoc/docker-compose.yaml +++ b/lsio/hedgedoc/docker-compose.yaml @@ -7,11 +7,11 @@ version: "3" services: mariadb: - image: ghcr.io/linuxserver/mariadb:latest + image: lscr.io/linuxserver/mariadb:latest container_name: hedgedoc_mariadb restart: always volumes: - - path/to/mariadb/data:/config + - /path/to/mariadb/data:/config environment: - MYSQL_ROOT_PASSWORD= - MYSQL_DATABASE=hedgedoc @@ -21,7 +21,7 @@ services: - PUID=1000 - TZ=Europe/London hedgedoc: - image: ghcr.io/linuxserver/hedgedoc:latest + image: lscr.io/linuxserver/hedgedoc:latest container_name: hedgedoc restart: always depends_on: @@ -37,6 +37,8 @@ services: - PGID=1000 - PUID=1000 - TZ=Europe/London + - CMD_DOMAIN=localhost + - CMD_URL_ADDPORT=true #optional ports: - "3000:3000" diff --git a/lsio/hedgedoc/docker-run.sh b/lsio/hedgedoc/docker-run.sh index eef61d7..74f0638 100644 --- a/lsio/hedgedoc/docker-run.sh +++ b/lsio/hedgedoc/docker-run.sh @@ -15,6 +15,8 @@ docker run -d \ -e DB_PASS= `# Database password` \ -e DB_NAME=hedgedoc `# Database name` \ -e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \ + -e CMD_DOMAIN=localhost `# The address the gui will be accessed at (ie. `192.168.1.1` or `hedgedoc.domain.com`).` \ + -e CMD_URL_ADDPORT=true `# optional` `# Set to `false` if accessing at port `80` or `443`.` \ -p 3000:3000 `# If you wish to access this container from http://{IP}:${PORT}` this *must* be left unchanged.` \ -v ${BASEDIR:-/volume1/docker}/hedgedoc/config:/config `# HedgeDoc config and configurable files` \ --restart unless-stopped \