Adds hostname
This commit is contained in:
parent
605709ff9c
commit
ddff7351f8
2 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ RestartSec=10
|
|||
TimeoutStartSec=60
|
||||
TimeoutStopSec=15
|
||||
EnvironmentFile=-/system/%i/env
|
||||
Environment=HOSTNAME=%H
|
||||
WorkingDirectory=/system/%i/
|
||||
ExecStartPre=-/opt/bin/docker-compose rm -f
|
||||
ExecStart=/bin/bash -euxc "/opt/bin/docker-compose up"
|
||||
|
|
|
@ -13,6 +13,7 @@ RestartSec=10
|
|||
TimeoutStartSec=60
|
||||
TimeoutStopSec=15
|
||||
EnvironmentFile=-/data/domains/%i/env
|
||||
Environment=HOSTNAME=%H
|
||||
WorkingDirectory=/data/domains/%i/
|
||||
ExecStartPre=-/opt/bin/docker-compose rm -f
|
||||
ExecStart=/bin/bash -euxc "VIRTUAL_HOST=%i /opt/bin/docker-compose up"
|
||||
|
|
Loading…
Reference in a new issue