Fix WAIT_FOR_TARGETS and version image
This commit is contained in:
parent
3ff8bf1567
commit
3cec162c96
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue