File size: 1,654 Bytes
81d8726
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
services:
  easynode:
    container_name: easynode
    # image: docker.1ms.run/chaoszhu/easynode
    image: docker.cnb.cool/chaoszhu/easynode:latest # cnb自动同步
    restart: always
    ports:
      - 8082:8082
    volumes:
      - /root/easynode/db:/easynode/app/db
    environment:
      - TZ=Asia/Shanghai
      - DEBUG=1
      - GUACD_HOST=easynode-guacd
      - GUACD_PORT=4822
      - HTTP_PORT=8082
      - RDP_PORT=8083
      - ENABLE_HTTPS=0
      - HTTPS_PORT=8092
      - SSL_CERT_PATH=
      - SSL_KEY_PATH=
    depends_on:
      easynode-guacd:
        condition: service_healthy
    networks:
      - easynode-network
    labels:
      - "com.centurylinklabs.watchtower.enable=true"

  easynode-guacd:
    container_name: easynode-guacd
    # image: docker.1ms.run/guacamole/guacd
    image: docker.cnb.cool/chaoszhu/docker-sync-manual/guacamole-guacd:latest_amd64 # cnb加速amd64
    restart: always
    expose:
      - "4822"
    healthcheck:
      test: ["CMD", "sh", "-c", "nc -z 127.0.0.1 4822"]
      interval: 5s
      timeout: 2s
      retries: 10
    networks:
      - easynode-network
    labels:
      - "com.centurylinklabs.watchtower.enable=false"

  watchtower:
    container_name: easynode-watchtower
    # image: docker.1ms.run/containrrr/watchtower
    image: docker.cnb.cool/chaoszhu/docker-sync-manual/containrrr-watchtower:latest_amd64 # cnb加速amd64
    restart: always
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    command: --schedule "0 */5 * * * *" --label-enable # 每5分钟检测一次更新
    environment:
      - TZ=Asia/Shanghai

networks:
  easynode-network:
    driver: bridge