- unistall script for certbot
- update resource limits for some docker container
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# docker-compose file for logstash
|
||||
# - see https://www.elastic.co/guide/en/logstash/current/_pulling_the_image.html
|
||||
#
|
||||
# DOCKER_HOST=dkhost03:2376 docker-compose up -d
|
||||
# DOCKER_HOST=dkhost:2376 docker-compose up -d
|
||||
# DOCKER_HOST=dkhost:2376 docker stack deploy -c docker-compose.yml services
|
||||
|
||||
version: '3'
|
||||
@@ -14,8 +14,8 @@ services:
|
||||
- 5000:5000
|
||||
environment:
|
||||
REGISTRY_HTTP_SECRET: aabuioqlwlcpp2
|
||||
REGISTRY_HTTP_TLS_CERTIFICATE: /certs/live/dkregistry.xai-corp.net/fullchain.pem
|
||||
REGISTRY_HTTP_TLS_KEY: /certs/live/dkregistry.xai-corp.net/privkey.pem
|
||||
REGISTRY_HTTP_TLS_CERTIFICATE: /certs/live/xai-corp.net/fullchain.pem
|
||||
REGISTRY_HTTP_TLS_KEY: /certs/live/xai-corp.net/privkey.pem
|
||||
# REGISTRY_HTTP_LETSENCRYPT_CACHEFILE: /var/run/letsencrypt.cache
|
||||
# REGISTRY_HTTP_LETSENCRYPT_EMAIL: r_morgan@sympatico.ca
|
||||
REGISTRY_HTTP_HOST: https://dkregistry.xai-corp.net:5000
|
||||
@@ -25,7 +25,8 @@ services:
|
||||
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
|
||||
volumes:
|
||||
- /opt/shared/dkregistry/data:/var/lib/registry
|
||||
- /etc/letsencrypt:/certs
|
||||
- /opt/shared/letsencrypt-2:/certs
|
||||
- /opt/shared/letsencrypt-2:/etc/letsencrypt
|
||||
- /opt/shared/dkregistry/auth:/auth
|
||||
|
||||
deploy:
|
||||
@@ -34,8 +35,8 @@ services:
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: "1s"
|
||||
max_attempts: 15
|
||||
max_attempts: 1
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.1'
|
||||
memory: 256M
|
||||
memory: 16M
|
||||
|
||||
Reference in New Issue
Block a user