Browse Source

env EnvironmentFile

merge-requests/22/head
Steven Foerster 6 years ago
parent
commit
aa0620bd9e
  1. 1
      scripts/services/Mistborn-base.service

1
scripts/services/Mistborn-base.service

@ -9,6 +9,7 @@ User=root
Group=docker Group=docker
PermissionsStartOnly=true PermissionsStartOnly=true
# Shutdown container (if running) when unit is stopped # Shutdown container (if running) when unit is stopped
EnvironmentFile=/opt/mistborn/.env
ExecStartPre=/usr/local/bin/docker-compose -f /opt/mistborn/base.yml down ExecStartPre=/usr/local/bin/docker-compose -f /opt/mistborn/base.yml down
ExecStartPre=/usr/local/bin/docker-compose -f /opt/mistborn/base.yml build ExecStartPre=/usr/local/bin/docker-compose -f /opt/mistborn/base.yml build

Loading…
Cancel
Save