Use VIRTUAL_HOST
This commit is contained in:
parent
4847390042
commit
5fcd6369d7
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue