Update dashy, gitea, homebox, docker-registry for git-linked deployment
This commit is contained in:
@@ -5,27 +5,21 @@ networks:
|
||||
|
||||
services:
|
||||
dashy:
|
||||
# To build from source, replace 'image: lissy93/dashy' with 'build: .'
|
||||
# build: .
|
||||
image: lissy93/dashy
|
||||
container_name: dashy
|
||||
# Pass in your config file below, by specifying the path on your host machine
|
||||
volumes:
|
||||
- /srv/dashy:/app/user-data
|
||||
ports:
|
||||
- 9000:8080
|
||||
# Set any environmental variables
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
# Specify your user ID and group ID. You can find this by running `id -u` and `id -g`
|
||||
# - UID=1000
|
||||
# - GID=1000
|
||||
# Specify restart policy
|
||||
- VIRTUAL_HOST=dashy.kolpacksoftware.com
|
||||
- VIRTUAL_PORT=8080
|
||||
- LETSENCRYPT_HOST=dashy.kolpacksoftware.com
|
||||
restart: unless-stopped
|
||||
# Configure healthchecks
|
||||
healthcheck:
|
||||
test: ['CMD', 'node', '/app/services/healthcheck']
|
||||
interval: 1m30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
start_period: 40s
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: npm-network
|
||||
|
||||
services:
|
||||
registry-browser:
|
||||
container_name: registry-browser
|
||||
image: klausmeyer/docker-registry-browser:latest
|
||||
ports:
|
||||
- 5080:8080
|
||||
environment:
|
||||
- DOCKER_REGISTRY_URL=https://docker-registry.kolpacksoftware.com/
|
||||
- PUBLIC_REGISTRY_URL=https://docker-registry.kolpacksoftware.com/
|
||||
- SECRET_KEY_BASE=0c11bc7a755901fcbb5ba0ef5e6ede0911452e9c944d4ab0d8eb3ee1cf8ff7dd4f8fee82615415f5dc665763c6b18b3b8aee6655f44388bc27b27624f218bf86
|
||||
- ENABLE_DELETE_IMAGES=true
|
||||
- VIRTUAL_HOST=docker-registry-ui.kolpacksoftware.com
|
||||
- VIRTUAL_PORT=8080
|
||||
- LETSENCRYPT_HOST=docker-registry-ui.kolpacksoftware.com
|
||||
|
||||
registry-server:
|
||||
image: registry:latest
|
||||
container_name: registry-server
|
||||
restart: always
|
||||
environment:
|
||||
- REGISTRY_HTTP_HEADERS_Access-Control-Allow-Origin=[https://docker-registry.kolpacksoftware.com/]
|
||||
- REGISTRY_HTTP_HEADERS_Access-Control-Allow-Methods=[HEAD,GET,OPTIONS,DELETE]
|
||||
- REGISTRY_HTTP_HEADERS_Access-Control-Allow-Credentials=[true]
|
||||
- REGISTRY_HTTP_HEADERS_Access-Control-Allow-Headers=[Authorization,Accept,Cache-Control]
|
||||
- REGISTRY_HTTP_HEADERS_Access-Control-Expose-Headers=[Docker-Content-Digest]
|
||||
- REGISTRY_STORAGE_DELETE_ENABLED=true
|
||||
- REGISTRY_AUTH=htpasswd
|
||||
- REGISTRY_AUTH_HTPASSWD_REALM=KSC Docker Registry
|
||||
- REGISTRY_AUTH_HTPASSWD_PATH=/auth/registry.password
|
||||
- REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/data
|
||||
- VIRTUAL_HOST=docker-registry.kolpacksoftware.com
|
||||
- VIRTUAL_PORT=5000
|
||||
- LETSENCRYPT_HOST=docker-registry.kolpacksoftware.com
|
||||
volumes:
|
||||
- /srv/registry/data:/data
|
||||
- /srv/registry/registry.password:/auth/registry.password
|
||||
ports:
|
||||
- 5000
|
||||
@@ -1,5 +1,3 @@
|
||||
version: "3"
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
@@ -12,13 +10,14 @@ services:
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- VIRTUAL_HOST=gitea.kolpacksoftware.com
|
||||
- VIRTUAL_PORT=3000
|
||||
- LETSENCRYPT_HOST=gitea.kolpacksoftware.com
|
||||
restart: always
|
||||
# networks:
|
||||
# - gitea
|
||||
volumes:
|
||||
- /srv/gitea-data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3001:3000"
|
||||
- "222:22"
|
||||
- "222:22"
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
services:
|
||||
homebox:
|
||||
# image: ghcr.io/sysadminsmedia/homebox:latest
|
||||
image: ghcr.io/sysadminsmedia/homebox:latest-rootless
|
||||
container_name: homebox
|
||||
restart: always
|
||||
environment:
|
||||
- HBOX_LOG_LEVEL=info
|
||||
- HBOX_LOG_FORMAT=text
|
||||
- HBOX_WEB_MAX_FILE_UPLOAD=10
|
||||
# Please consider allowing analytics to help us improve Homebox (basic computer information, no personal data)
|
||||
- HBOX_OPTIONS_ALLOW_ANALYTICS=false
|
||||
- HBOX_LOG_LEVEL=info
|
||||
- HBOX_LOG_FORMAT=text
|
||||
- HBOX_WEB_MAX_FILE_UPLOAD=10
|
||||
- HBOX_OPTIONS_ALLOW_ANALYTICS=false
|
||||
- VIRTUAL_HOST=homebox.kolpacksoftware.com
|
||||
- VIRTUAL_PORT=7745
|
||||
- LETSENCRYPT_HOST=homebox.kolpacksoftware.com
|
||||
volumes:
|
||||
- /srv/homebox-data:/data/
|
||||
ports:
|
||||
@@ -18,4 +19,4 @@ services:
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: npm-network
|
||||
name: npm-network
|
||||
|
||||
Reference in New Issue
Block a user