Skip to content

Commit

Permalink
Initial version of registry files
Browse files Browse the repository at this point in the history
  • Loading branch information
TDDR committed Mar 8, 2022
1 parent 8abbeb5 commit 2ba7b21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/etc/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ http {

server {
listen 443 ssl;
server_name docker.cdot.systems; #${DOMAIN};
server_name docker.cdot.systems;

# SSL
ssl_certificate /etc/letsencrypt/live/docker.cdot.systems/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
- /etc/letsencrypt:/etc/letsencrypt
depends_on:
- registry
command: /bin/sh -c "while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g 'daemon off;'"

# SSL certificate management for nginx
certbot:
Expand All @@ -26,4 +27,3 @@ services:
image: registry:2
volumes:
- /mnt/docker0storage/registry:/var/lib/registry
#- ./config/registry-config.yaml:/config/registry-config.yaml Untested use of the registry-config.yaml file

0 comments on commit 2ba7b21

Please sign in to comment.