Skip to content
Snippets Groups Projects
Commit 7255700f authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Fixes env file

parent ac7e73f3
No related branches found
No related tags found
No related merge requests found
......@@ -3,5 +3,4 @@
if [ ! -d "/data/per-user/$USER/nginx/data" ]; then
mkdir -p /data/per-user/$USER/nginx/data/www-content
echo Hello $USER > /data/per-user/$USER/nginx/data/www-content/index.html
touch /data/per-user/$USER/nginx/.env
fi
......@@ -16,7 +16,6 @@ ExecStartPre=-/usr/bin/docker rm %p-%i
ExecStart=/usr/bin/docker run\
--name %p-%i\
-v /data/per-user/%i/%p/data/www-content:/app\
--env-file /data/per-user/%i/%p/.env\
indiehosters/nginx
ExecReload=/usr/bin/docker restart %p-%i
ExecStop=/usr/bin/docker stop %p-%i
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment