diff --git a/etc/systemd/system/registry-dc.service b/etc/systemd/system/registry-dc.service deleted file mode 100644 index a88db67..0000000 --- a/etc/systemd/system/registry-dc.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=Registry (Compose Service) -Requires=docker.service -After=docker.service - -[Service] -WorkingDirectory=/opt/registry -ExecStart=/usr/bin/docker-compose --project-name registry up -ExecStop=/usr/bin/docker-compose --project-name registry down -TimeoutStartSec=0 -Restart=on-failure -StartLimitIntervalSec=60 -StartLimitBurst=3 - -[Install] -WantedBy=multi-user.target - diff --git a/opt/registry/docker-compose.yml b/opt/registry/docker-compose.yml deleted file mode 100644 index 33a8312..0000000 --- a/opt/registry/docker-compose.yml +++ /dev/null @@ -1,19 +0,0 @@ -version: "3.0" - -services: - registry: - container_name: registry - image: registry:2.8.1 - restart: unless-stopped - environment: - REGISTRY_AUTH: htpasswd - REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm - REGISTRY_AUTH_HTPASSWD_PATH: /registry.password - volumes: - - data:/var/lib/registry - - ./registry.password:/registry.password - ports: - - "5000:5000" - -volumes: - data: diff --git a/opt/registry/generate-pw.sh b/opt/registry/generate-pw.sh deleted file mode 100755 index fcbc8a2..0000000 --- a/opt/registry/generate-pw.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -username="${1:?Missing username}" - -docker run --rm -it alpine sh -c "apk add apache2-utils >/dev/null; htpasswd -Bn $username" diff --git a/opt/website/docker-compose.yml b/opt/website/docker-compose.yml index 8703cc4..f4bffaf 100644 --- a/opt/website/docker-compose.yml +++ b/opt/website/docker-compose.yml @@ -3,7 +3,7 @@ version: "3.0" services: website: container_name: website - image: cr.jilits.se/jilits/website:0.2.1 + image: git.jilits.se/jilits/website:0.2.1 restart: unless-stopped ports: - "8000:1313"