mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
docker compose
This commit is contained in:
parent
a874314588
commit
a217582dc1
8 changed files with 83 additions and 43 deletions
15
new/vps2/docker-compose.yml
Normal file
15
new/vps2/docker-compose.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
version: '3.8'
|
||||
services:
|
||||
registry:
|
||||
container_name: registry
|
||||
restart: always
|
||||
image: registry:2
|
||||
volumes:
|
||||
- "/apps/registry/config.yml:/etc/docker/registry/config.yml"
|
||||
- "/apps/registry/data:/var/lib/registry"
|
||||
- "/apps/registry/htpasswd:/htpasswd"
|
||||
- "/var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/vps2.nilstrieb.dev:/etc/certs"
|
||||
ports:
|
||||
- "5000:5000"
|
||||
|
||||
# TODO: create an internal network and move caddy there as well.
|
||||
Loading…
Add table
Add a link
Reference in a new issue