Fix WAIT_FOR_TARGETS and version image

This commit is contained in:
Daniel Berteaud 2024-01-21 22:59:22 +01:00
parent 3ff8bf1567
commit 3cec162c96
2 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@ job "bookstack" {
driver = "docker"
config {
image = "danielberteaud/bookstack:latest"
image = "danielberteaud/bookstack:23.12.1-1"
pids_limit = 100
readonly_rootfs = true
volumes = ["secrets/bookstack.env:/app/.env"]
@ -93,7 +93,7 @@ job "bookstack" {
data = <<_EOT
LANG=fr_FR.utf8
TZ=Europe/Paris
WAIT_FOR_TARGET=127.0.0.1:3306
WAIT_FOR_TARGETS=127.0.0.1:3306
_EOT
destination = "secrets/.env"
perms = 400

View File

@ -6,14 +6,14 @@ instance: bookstack
bookstack:
# Docker image to use
image: '[[ .docker.repo ]]bookstack:23.12.1'
image: '[[ .docker.repo ]]bookstack:23.12.1-1'
# Number of instances to run
count: 1
# Custom env vars to set in the container
env:
WAIT_FOR_TARGET: 127.0.0.1:3306
WAIT_FOR_TARGETS: 127.0.0.1:3306
# Resource allocation
resources: