智慧保安后台管理-外网项目备份
Administrator
2022-03-29 a5b39478de866b68d0e19ac8aeebb4d0cccb18a2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: '3.1'
services:
  zhbaw:
    image: zhbaw:latest
    container_name: zhbaw
    deploy:
      replicas: 1
      update_config:
        parallelism: 2
        delay: 30s
    depends_on:
      - redis
    ports:
      - "81:81"
    # 容器停止后会重启
    restart: always
  redis:
    image: "redis:alpine"
    container_name: reids-alpine
    deploy:
      replicas: 1
    ports:
      - "6379:6379"
    restart: always