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

Add environment file

parent 78b964b8
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ Restart=always ...@@ -12,6 +12,7 @@ Restart=always
RestartSec=10 RestartSec=10
TimeoutStartSec=60 TimeoutStartSec=60
TimeoutStopSec=15 TimeoutStopSec=15
EnvironmentFile=-/system/%i/env
WorkingDirectory=/system/%i/ WorkingDirectory=/system/%i/
ExecStartPre=-/opt/bin/docker-compose rm -f ExecStartPre=-/opt/bin/docker-compose rm -f
ExecStart=/bin/bash -euxc "/opt/bin/docker-compose up" ExecStart=/bin/bash -euxc "/opt/bin/docker-compose up"
......
...@@ -12,6 +12,7 @@ Restart=always ...@@ -12,6 +12,7 @@ Restart=always
RestartSec=10 RestartSec=10
TimeoutStartSec=60 TimeoutStartSec=60
TimeoutStopSec=15 TimeoutStopSec=15
EnvironmentFile=-/data/domains/%i/env
WorkingDirectory=/data/domains/%i/ WorkingDirectory=/data/domains/%i/
ExecStartPre=-/opt/bin/docker-compose rm -f ExecStartPre=-/opt/bin/docker-compose rm -f
ExecStart=/bin/bash -euxc "HOST=%i /opt/bin/docker-compose up" ExecStart=/bin/bash -euxc "HOST=%i /opt/bin/docker-compose up"
......
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