Comments (5)
I'll try to work on a PR. Let me open another issue specificially for this ${VARIABLE:?} question (instead of poluting this issue) and i'll work at a PR for it. 👌
from dockerswarm.rocks.
FYI, I've started to use ${VARIABLE:?Variable not found}
when there is no obvious default so that the deploy crash if the variable is not set:
See docker reference on variable substitution for more info.
Maybe that would make sense to change the ${VARIABLE}
or ${VARIABLE:-}
by ${VARIABLE:?}
for a more solid deploy process?
from dockerswarm.rocks.
Good idea @dmrty ! I'll change it later (unless a PR doing it comes first 😁 ).
from dockerswarm.rocks.
Thanks @dmrty ! Let's move to the new issue for that.
@dmontagu as your PR fixing the sudo
part it is merged already, I'll close this issue now.
from dockerswarm.rocks.
When running:
sudo docker stack deploy -c traefik.yml traefik-consul
I was getting:
invalid interpolation format for services.consul-leader.deploy.labels.[]: "required variable DOMAIN is missing a value: Variable DOMAIN not set". You may need to escape any $ with another $.
unless I specified -E flag as @dmontagu proposed:
sudo -E docker stack deploy -c traefik.yml traefik-consul
It would be good to reflect this in the instruction, as the error text made me try to fix yml syntax instead of looking elsewhere.
from dockerswarm.rocks.
Related Issues (20)
- Swarmpit setup fails - http://db:5984 host unreachable HOT 4
- Service placement on different node makes it unreachable HOT 2
- Swarmpit on ARM HOT 1
- Let's encrypt issue HOT 2
- Setting up hostname didn't work
- 404 for grafana / prometheus requests HOT 2
- Traefik example and its labels HOT 1
- Suggestion: Start with simple stack to get Portainer running with Caddy HOT 2
- Traefik on 2 Manager Nodes HOT 4
- What are the things to look when traefik.<domain name> is not loading? HOT 2
- Any recommended FOSS projects for Docker Swarm Mode deployments? HOT 3
- Traefik : redirect all http to https HOT 4
- n/a
- nginx loadbalancer
- Custom SSL Certificate HOT 2
- [feature request] dark mode for dockerswarm.rocks HOT 1
- Traefik redundancy and DNS configuration HOT 3
- Feature Request: Explain the roles of Portainer and Swarmpit (better) HOT 1
- Is dockerswarm.rocks still maintained? HOT 13
- Everything depends on the first node despite being in swarm mode HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerswarm.rocks.