-
-
Save SimonHoenscheid/9f66d6c9bb4d932a047688fcd29ca8fa to your computer and use it in GitHub Desktop.
Docker via Puppet
This file contains hidden or 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::run_instance::instance: | |
gitlab-redis: | |
image: redis | |
volumes: | |
- '/data/services/gitlab/redis/data:/data' | |
gitlab: | |
image: sameersbn/gitlab:8.10.1 | |
volumes: | |
- '/data/services/gitlab/data:/home/git/data' | |
env_file: | |
- /data/services/gitlab/environment | |
ports: | |
- 5.9.9.19:22:22 | |
- 127.0.0.1:10080:8181 | |
links: | |
- gitlab-redis:redisio | |
after: | |
- gitlab-redis | |
depend_services: | |
- [email protected] |
This file contains hidden or 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
class profiles::docker | |
{ | |
include ::docker | |
$_instances = hiera('docker::run_instance::instance', undef) | |
if is_hash($_instances) { | |
include ::docker::run_instance | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment