env file
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
wifi:
|
wifi:
|
||||||
#user: root
|
#user: root
|
||||||
image: cyber5k/wifi
|
image: "cyber5k/wifi:${MISTBORN_TAG}"
|
||||||
container_name: mistborn_production_wifi
|
container_name: mistborn_production_wifi
|
||||||
#labels:
|
#labels:
|
||||||
# - "traefik.enable=true"
|
# - "traefik.enable=true"
|
||||||
|
|||||||
@@ -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/extra/wifi.yml down
|
ExecStartPre=/usr/local/bin/docker-compose -f /opt/mistborn/extra/wifi.yml down
|
||||||
|
|
||||||
ExecStartPre=/usr/local/bin/docker-compose -f /opt/mistborn/extra/wifi.yml build
|
ExecStartPre=/usr/local/bin/docker-compose -f /opt/mistborn/extra/wifi.yml build
|
||||||
|
|||||||
Reference in New Issue
Block a user