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: