File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ deployment:
2828 # Passed to the meta section in Nomad
2929 meta :
3030 ENVIRONMENT : ${{ env.NOMAD_ENVIRONMENT }}
31+ VERSION : ${{ env.NOMAD_VERSION }}
3132
3233 containers : # Maps to the groups section in Nomad
3334 - image : mfdlabs/grid-bot
@@ -78,14 +79,16 @@ deployment:
7879 volumes :
7980 - ' /var/run/docker.sock:/var/run/docker.sock'
8081 - ' /tmp/.X11-unix:/tmp/.X11-unix'
81- - ' /opt/grid/scripts:/opt/grid/scripts'
82- - ' /_/_logs/grid-bot/${{ env.NOMAD_ENVIRONMENT }}:/tmp/mfdlabs/logs'
82+
83+ - ' /_/_data/grid-bot/scripts:/_/_data/grid-bot/scripts'
84+ - ' /_/_data/grid-bot/logs:/tmp/mfdlabs/logs'
85+ - ' /_/_data/grid-bot/rcc-logs:/_/_data/grid-bot/rcc-logs'
8386 config_maps :
8487 - destination : secrets/file.env
8588 env : true
8689 on_change : restart
8790 data : |
8891 DISPLAY=:1
8992 DEFAULT_LOG_LEVEL=Information
90- VAULT_ADDR="http://vault.service.consul:8200 "
91- VAULT_TOKEN="{{ with secret "grid-bot-settings/grid-bot-vault" }}{{ .Data.data.vault_token }}{{ end }}"
93+ VAULT_ADDR="${{ env.VAULT_ADDR }} "
94+ VAULT_TOKEN="$ {{ env.VAULT_TOKEN }}"
You can’t perform that action at this time.
0 commit comments