Workflow update

main
technorabilia 3 years ago
parent 622507b083
commit a36faf3a78

@ -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

@ -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=<secret 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"

@ -15,6 +15,8 @@ docker run -d \
-e DB_PASS=<secret password> `# 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 \

Loading…
Cancel
Save