代码拉取完成,页面将自动刷新
version: "3"
services:
app:
container_name: app
build:
context: ./app/
args:
- CENTOS_VERSION=${CENTOS_VERSION}
- BT_INSTALL_PATH=${BT_INSTALL_PATH}
- BT_USERNAME=${BT_USERNAME}
- BT_PASSWORD=${BT_PASSWORD}
# - DNS1=${DNS1}
# - DNS2=${DNS2}
stdin_open: true
tty: true
privileged: true
user: root
restart: always
# dns:
# - ${DNS1}
# - ${DNS2}
ports:
- ${BT_PORT}:8888
- ${WEB_PORT}:80
- ${HTTPS_PORT}:443
- ${FTP_DATA_PORT}:20
- ${FTP_PORT}:21
- ${SSH_PORT}:22
- ${MYSQL_PORT}:3306
- ${PHPMYADMIN_PORT}:888
- ${REDIS_PORT}:6379
- ${MEMCACHED_PORT}:11211
expose:
- ${XDEBUG_PORT}
- 39000-40000
volumes:
- www:/www
- usr:/usr
- etc:/etc
- ${WEB_PATH}:/www/wwwroot:cached
- ${BACKUP_PATH}:/www/backup
- ${LOGS_PATH}:/www/wwwlogs
# - ${DATA_PATH}:/www/server/data:cached
app_backup:
container_name: app_backup
build:
context: ./app_backup/
depends_on:
- app
stdin_open: true
tty: true
privileged: true
volumes:
- ./app_backup/export:/app_backup/export
- www:/app_backup/data/www
- usr:/app_backup/data/usr
- etc:/app_backup/data/etc
volumes:
www:
driver: ${VOLUMES_DRIVER}
usr:
driver: ${VOLUMES_DRIVER}
etc:
driver: ${VOLUMES_DRIVER}
networks:
default:
driver: ${NETWORKS_DRIVER}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。