From f654b425d148c9a9c643d16a8b471e050bfe1b8b Mon Sep 17 00:00:00 2001 From: Lorena Hendrix Date: Sun, 16 Jun 2024 13:17:11 +0200 Subject: [PATCH] su instead of sudo genie command --- docker-compose-deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose-deploy.yml b/docker-compose-deploy.yml index 3a18198..8450966 100644 --- a/docker-compose-deploy.yml +++ b/docker-compose-deploy.yml @@ -8,7 +8,8 @@ services: restart: always ports: - "8000:8000" - command: sudo -u genie julia --project=. -e 'include("app/rest.jl")' --color=yes --depwarn=no --project=@. --sysimage="/home/sysimage.so" -q -i -- $(dirname $0)/../bootstrap.jl -s=true + command: > + su genie -c 'julia --project=. -e "include(\"app/rest.jl\")" --color=yes --depwarn=no --project=@. --sysimage=\"/home/sysimage.so\" -q -i -- $(dirname $0)/../bootstrap.jl -s=true' nginx: