-
-
Save pacopablo/3938e9dc5527279a31e8 to your computer and use it in GitHub Desktop.
SaltStack docker.io stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-registries: | |
https://index.docker.io/v1/: | |
email: <email address> | |
user: <username> | |
password: <super secret password> | |
https://<fqdn>:5000: | |
email: <email address> | |
password: <super secret password> | |
user: <username> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nginx-image: | |
docker.pulled: | |
- name: pacopablo/nginx-proxy | |
- require_in: nginx-container | |
proxy_config-image: | |
docker.pulled: | |
- name: <fqdn>:5000/proxy_config-image | |
- tag: latest | |
proxy_config-container: | |
docker.installed: | |
- name: proxy_config | |
- image: <fqdn>:5000/proxy_config-image | |
- require_in: nginx | |
nginx-container: | |
docker.installed: | |
- name: webproxy | |
- hostname: webproxy | |
- image: pacopablo/nginx-proxy | |
- require_in: nginx | |
nginx: | |
docker.running: | |
- container: webproxy | |
- port_bindings: | |
"80/tcp": | |
HostIp: "" | |
HostPort: "80" | |
"443/tcp": | |
HostIp: "" | |
HostPort: "443" | |
- volumes_from: ['proxy_config'] | |
- volumes: | |
- /etc/ssl:/etc/ssl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment