Use VIRTUAL_HOST

This commit is contained in:
pierreozoux 2016-08-06 13:01:53 +01:00
parent 4847390042
commit 5fcd6369d7

View file

@ -15,7 +15,7 @@ TimeoutStopSec=15
EnvironmentFile=-/data/domains/%i/env
WorkingDirectory=/data/domains/%i/
ExecStartPre=-/opt/bin/docker-compose rm -f
ExecStart=/bin/bash -euxc "HOST=%i /opt/bin/docker-compose up"
ExecStart=/bin/bash -euxc "VIRTUAL_HOST=%i /opt/bin/docker-compose up"
ExecStop=/opt/bin/docker-compose stop
[Install]