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.
21 lines
606 B
21 lines
606 B
2 years ago
|
version: "3.7"
|
||
|
services:
|
||
|
jenkins-webhook-trigger:
|
||
|
container_name: jenkins-webhook-trigger
|
||
|
image: 192.168.1.140:5000/epmet-saas-dev/jenkins-webhook-trigger:001
|
||
|
network_mode: host # 使用host网络
|
||
|
volumes:
|
||
|
- "/Volumes/data/ws_python/wxz/JenkinsWebHookTrigger/lastcommit.txt:/lastcommit.txt"
|
||
|
environment:
|
||
|
RUN_INSTRUCT: "python /main.py runserver 0.0.0.0:7998"
|
||
|
restart: "unless-stopped"
|
||
|
logging:
|
||
|
driver: local
|
||
|
options:
|
||
|
max-size: "10m"
|
||
|
max-file: "2"
|
||
|
deploy:
|
||
|
resources:
|
||
|
limits:
|
||
|
cpus: '0.1'
|
||
|
memory: 250M
|