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.
 

34 lines
667 B

version: "2"
services:
bt:
build:
context: ./
container_name: bt
hostname: virking-bt
tty: true
privileged: true
restart: always
command: "/sbin/init"
volumes:
- ../../website_data:/www/wwwroot/
ports:
- "80:80"
- "22:22"
- "8888:8888"
- "888:888"
- "6379:6379"
- "9003:9003"
- "9000:9000"
- "9010:9010"
cap_add:
- SYS_PTRACE
networks:
- default
networks:
default:
driver: bridge
ipam:
driver: default
# 解除下面的注释可以设置网段,用于nginx等容器固定容器IP
#config:
# - subnet: 10.0.0.0/24