代码拉取完成,页面将自动刷新
同步操作将从 zhennann/cabloy 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3.7'
services:
app:
depends_on:
- mysql
- redis
build:
context: .
dockerfile: docker-compose-dockerfile-app
restart: always
ports:
- '7202:7102'
volumes:
- ./docker-compose/output/app/dist:/root/output/app/dist
- ./docker-compose/output/app/cabloy:/root/cabloy
- ./docker-compose/logs/app:/root/logs
command: ['./scripts/wait-for-it.sh', 'mysql:3306', 'redis:6379', '-s', '--', './scripts/app-init.sh']
nginx:
image: nginx:latest
depends_on:
- app
restart: always
ports:
- '80:80'
volumes:
- ./docker-compose/output/app/dist:/usr/share/nginx/app/dist
- ./docker-compose/output/app/cabloy:/usr/share/nginx/app/cabloy
- ./docker-compose/logs/nginx:/var/log/nginx
- ./docker-compose/config/nginx/conf.d:/etc/nginx/conf.d
mysql:
image: mysql:latest
command:
- --default-authentication-plugin=mysql_native_password
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_general_ci
- --character-set-client-handshake=FALSE
- --skip-host-cache
- --skip-name-resolve
- --slow_query_log=1
- --long_query_time=0.5
- --log-queries-not-using-indexes=1
restart: always
ports:
- '33306:3306'
volumes:
- ./docker-compose/data/mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: 'CDf#lV+q5I1RB2KR'
MYSQL_DATABASE: 'cabloy'
MYSQL_USER: 'web_user'
MYSQL_PASSWORD: '!%{9mov.Tw3LmcYP'
security_opt:
- seccomp:unconfined
redis:
image: redis:latest
command: ['redis-server', '--appendonly', 'yes']
restart: always
ports:
- '36379:6379'
volumes:
- ./docker-compose/data/redis:/data
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。