mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-15 00:55:09 +01:00
compose the basics
This commit is contained in:
parent
99d5edbb94
commit
c97168fe00
4 changed files with 62 additions and 3 deletions
17
docker/production.yml
Normal file
17
docker/production.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
version: '3.3'
|
||||
services:
|
||||
nginx:
|
||||
volumes:
|
||||
- "/etc/letsencrypt:/etc/nginx/certs:ro"
|
||||
ports:
|
||||
- "443:443"
|
||||
registry:
|
||||
volumes:
|
||||
- "/etc/letsencrypt:/etc/letsencrypt"
|
||||
- "/etc/htpasswd:/htpasswd"
|
||||
environment:
|
||||
- REGISTRY_HTTP_TLS_CERTIFICATE=/etc/letsencrypt/live/nilstrieb.dev/fullchain.pem
|
||||
- REGISTRY_HTTP_TLS_KEY=/etc/letsencrypt/live/nilstrieb.dev/privkey.pem
|
||||
- REGISTRY_AUTH=htpasswd
|
||||
- REGISTRY_AUTH_HTPASSWD_REALM=Realm
|
||||
- REGISTRY_AUTH_HTPASSWD_PATH=/htpasswd
|
||||
Loading…
Add table
Add a link
Reference in a new issue