# 为知笔记 ```shell services: wiz: image: viticis/wizserver container_name: wiz restart: always ports: - "3316:3306" - "83:80" - "9269:9269/udp" volumes: - /volume1/docker/wizserver:/wiz/storage - /etc/localtime:/etc/localtime tty: true stdin_open: true ``` ```bash services: wiz: image: viticis/wizserver container_name: wiz restart: always ports: - "3316:3306" - "83:80" - "9269:9269/udp" volumes: - /mnt/scsi0.1-1/wiz:/wiz/storage environment: - TZ=Asia/Shanghai # 设置容器的时区 tty: true stdin_open: true ```