Created
March 13, 2017 15:07
-
-
Save MaienM/f968ad0737cc5f4ade7b106319b0d2df to your computer and use it in GitHub Desktop.
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
version: '2' | |
# echo 'client_max_body_size 0;' | sudo tee /srv/nginx/vhost.d/docker.waxd.nl_location | |
# docker run --rm -it --entrypoint htpasswd registry:2 -n <username> | grep -vi password | sudo tee -a /srv/nginx/htpasswd/docker.waxd.nl | |
services: | |
registry: | |
restart: unless-stopped | |
image: registry | |
volumes: | |
- /srv/registry:/var/lib/registry | |
environment: | |
VIRTUAL_HOST: docker.waxd.nl | |
LETSENCRYPT_HOST: docker.waxd.nl | |
LETSENCRYPT_EMAIL: [email protected] | |
networks: | |
- proxy | |
networks: | |
proxy: | |
external: | |
name: proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment