You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.0 KiB

version: "3.7"
services:
scm-server:
image: devops.qdhezheng.cn:5000/qdhezheng/shell-scm-server
environment:
- TZ=Asia/Shanghai
- SPRING_PROFILES_ACTIVE=cdshell
ports:
- 8091:8091
working_dir: /app
restart: always
volumes:
- filedata:/app/upload
- ./application-cdshell.yml:/app/application-cdshell.yml
networks:
my_net:
aliases:
- scm-server
scm-web:
image: devops.qdhezheng.cn:5000/qdhezheng/shell-scm-web
environment:
- TZ=Asia/Shanghai
ports:
- 443:443
working_dir: /app
restart: always
volumes:
- "./default.conf:/etc/nginx/conf.d/default.conf"
- "./scs1693214452600__.cdshell.com_server.crt:/etc/nginx/conf.d/scs1693214452600__.cdshell.com_server.crt"
- "./scs1693214452600__.cdshell.com_server.key:/etc/nginx/conf.d/scs1693214452600__.cdshell.com_server.key"
- "./host.js:/usr/share/nginx/html/host.js"
networks:
my_net:
aliases:
- scm-web
networks:
my_net:
volumes:
filedata: