更新自动化脚本

This commit is contained in:
SkyJourney
2023-12-19 05:51:36 +08:00
parent 6c5e3e8f06
commit 6c2510147f
3 changed files with 47 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#版本
version: '3.9'
x-template:
service: &service_tmp
restart: always
tty: true
deploy:
resources:
limits:
cpus: '2'
memory: 1G
reservations:
cpus: '0.5'
memory: 256M
extra_hosts:
- "yg.dt.io:192.168.1.5"
#服务配置
services:
emergency-screen:
<<: *service_tmp
container_name: es_${PROFILE_NAME}
hostname: es_${PROFILE_NAME}
image: ${IMAGE_NAME}:${IMAGE_TAG_LATEST}
networks:
default:
name: ${NETWORK_NAME}
external: true