Last active
September 8, 2016 08:50
-
-
Save mcallaway/8202dad9ee41652c55ba2aff1c2c761f to your computer and use it in GitHub Desktop.
docker-compose setup: docker-registry docker-auth apache redis
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_auth: | |
image: "cesanta/docker_auth:stable" | |
command: --v=2 --alsologtostderr /config/auth_config.yml | |
ports: | |
- 5001:5001 | |
volumes: | |
- ./docker-auth/config:/config:ro | |
- ./docker-auth/logs:/logs | |
redis: | |
image: redis | |
ports: | |
- 6379:6379 | |
registry: | |
image: registry:2 | |
links: | |
- redis:redis | |
- docker_auth:docker_auth | |
ports: | |
- 127.0.0.1:5000:5000 | |
volumes: | |
- ./docker-registry/server.crt:/etc/docker/registry/server.crt:ro | |
- ./docker-registry/config.yml:/etc/docker/registry/config.yml:ro | |
- ./docker-registry/ca.crt:/etc/docker/registry/ca.crt:ro | |
- /vol/ostack/kilo/docker-registry:/var/lib/registry | |
apache: | |
#image: "httpd:2.4" | |
image: "mcallaway/httpd:libaprutil1-ldap" | |
hostname: registry.my.domain.com | |
ports: | |
- 443:443 | |
links: | |
- registry:registry | |
volumes: | |
- ./apache/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro | |
- ./apache/server.crt:/usr/local/apache2/conf/server.crt:ro | |
- ./apache/server.key:/usr/local/apache2/conf/server.key:ro | |
- ./apache/ca.crt:/usr/local/apache2/conf/ca.crt:ro | |
- ./apache/ipa_ca.crt:/usr/local/apache2/conf/ipa_ca.crt:ro |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The apache config, httpd.conf: