docker-compose 模板
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.

27 lines
518 B

3 years ago
version: '2.1'
networks:
discuzq:
external: false
services:
discuzq:
image: ccr.ccs.tencentyun.com/discuzq/dzq:latest
container_name: discuzq
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
privileged: true
networks:
- discuzq
volumes:
- ./data/mysqldb:/var/lib/mysqldb/
- ./data/discuz:/var/lib/discuz/
- ./data/certs/:/etc/nginx/certs/
- /etc/localtime:/etc/localtime
ports:
- "7180:80"
- "7443:443"