new sslproxy xai cli commands for build, deploy, rollback
This commit is contained in:
@@ -5,19 +5,22 @@
|
||||
# DOCKER_HOST=dkhost:2376 docker stack deploy --with-registry-auth -c docker-compose.yml sslproxy
|
||||
# DOCKER_HOST=dkhost:2376 docker stack ps sslproxy
|
||||
|
||||
version: '3'
|
||||
version: '3.4'
|
||||
volumes:
|
||||
cache:
|
||||
|
||||
services:
|
||||
|
||||
app:
|
||||
image: "dkregistry.xai-corp.net:5000/sslproxy:2.1"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
||||
image: ${LOCAL_IMAGE}:${TAG}
|
||||
volumes:
|
||||
- /etc/letsencrypt:/etc/letsencrypt:ro
|
||||
- ./letsencrypt:/etc/letsencrypt
|
||||
- ./hosts:/etc/nginx/conf.d:ro
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||
- cache:/data/nginx/cache
|
||||
ports:
|
||||
- "443:443"
|
||||
- 443:443
|
||||
- 80:80
|
||||
|
||||
# certbot:
|
||||
# image: "dkregistry.xai-corp.net:5000/sslproxy:latest"
|
||||
|
||||
Reference in New Issue
Block a user