Comments (3)
Docker Secrets only works with a Docker Swarm setup though, many people (including me) have no need for a swarm, i just want to do a docker run
and continue my day.
Do you know how to use secrets with the standard Docker? (no swarm)?
from statping.
I understand.
You can use if you're running with Docker Compose, using the syntax below:
version: '3.6'
services:
statup:
image: hunterlong/statup:latest
# ...
secrets:
- DB_PASS
secrets:
DB_PASS:
file: ./DB_PASS
As you can see, Docker Compose emulates the behaviour of Docker Secrets by using a file, therefore not the Docker Secrets' storage, but the rest is the same it will mount DB_PASS
at /run/secrets/DB_PASS
.
https://docs.docker.com/compose/compose-file/#secrets
In my case, I'm deploying statup with Docker Swarm because I'm deploying alongside other devtools. But I imagine most cases people will be deploying statup in an exclusive server, thus not needing to use Docker Swarm.
from statping.
This issue hasn't had any updates in a while. If this is still a problem, please create a new issue.
from statping.
Related Issues (20)
- Wiki docker-compose fix HOT 7
- ios app ipa release? HOT 1
- Using Android App with self signed certificate HOT 1
- Add additional email address field to each service's notification options HOT 2
- Can't install using docs HOT 3
- [Demo page is down] cloduflare and SSL cert HOT 1
- Excessive permission on configuration file HOT 2
- demo.statping.com SSL handshake fails HOT 1
- This project is abandoned HOT 35
- Prometheus metrics are not shown under /metrics page HOT 1
- how send logs to private telegram chan/group HOT 2
- Question: is StatPing a right tool to track "Packet Loss"? HOT 3
- Option to move Announcements to the top HOT 1
- Found a possible security concern HOT 7
- Allow multiple SMTP Recipients
- Error with the curl installer HOT 2
- demo.statping.com points to unrelated machine HOT 8
- IOS App not available in France HOT 2
- s.SleepDuration = (time.Duration(s.Id) * 100) * time.Millisecond. , endpoint going into sleep mode for a long time if we add around 12000 endpoints HOT 1
- endpoint going into sleep mode for a long time if we add around 12000 endpoints HOT 1
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 statping.