代码拉取完成,页面将自动刷新
version: '2.1'
volumes:
db-data:
services:
mysql:
image: mysql:8
ports:
- "3306:3306"
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: ${DB_PASSWD:-prestashop}
MYSQL_DATABASE: ${DB_NAME:-prestashop}
restart: unless-stopped
networks:
- prestashop-network
prestashop-git:
hostname: ${PS_HOSTNAME:-localhost}
build:
dockerfile: .docker/Dockerfile
context: .
args:
- VERSION=${VERSION:-8.1-apache}
- USER_ID=${USER_ID:-1000}
- GROUP_ID=${GROUP_ID:-1000}
- NODE_VERSION=${NODE_VERSION:-16.20.1}
- INSTALL_XDEBUG=${INSTALL_XDEBUG:-false}
environment:
DISABLE_MAKE: ${DISABLE_MAKE:-0}
PS_INSTALL_AUTO: ${PS_INSTALL_AUTO:-1}
DB_PASSWD: ${DB_PASSWD:-prestashop}
DB_NAME: ${DB_NAME:-prestashop}
DB_SERVER: ${DB_SERVER:-mysql}
DB_PREFIX: ${DB_PREFIX:-ps_}
PS_DOMAIN: ${PS_DOMAIN:-localhost:8001}
PS_FOLDER_INSTALL: ${PS_FOLDER_INSTALL:-install-dev}
PS_FOLDER_ADMIN: ${PS_FOLDER_ADMIN:-admin-dev}
PS_COUNTRY: ${PS_COUNTRY:-fr}
PS_LANGUAGE: ${PS_LANGUAGE:-en}
PS_DEV_MODE: ${PS_DEV_MODE:-1}
PS_ENABLE_SSL: ${PS_ENABLE_SSL:-0}
PS_ERASE_DB: ${PS_ERASE_DB:-0}
PS_USE_DOCKER_MAILDEV: ${PS_USE_DOCKER_MAILDEV:-1}
ADMIN_MAIL: ${ADMIN_MAIL:-demo@prestashop.com}
ADMIN_PASSWD: ${ADMIN_PASSWD:-Correct Horse Battery Staple}
BLACKFIRE_ENABLE: ${BLACKFIRE_ENABLE:-0}
BLACKFIRE_SERVER_ID: ${BLACKFIRE_SERVER_ID:-0}
BLACKFIRE_SERVER_TOKEN: ${BLACKFIRE_SERVER_TOKEN:-0}
command: /tmp/wait-for-it.sh --timeout=60 --strict mysql:3306 -- /tmp/docker_run_git.sh
ports:
- "8001:80"
- "8002:443"
depends_on:
- mysql
volumes:
- ./:/var/www/html:delegated
networks:
- prestashop-network
maildev:
image: 'maildev/maildev'
ports:
- "1080:1080"
networks:
- prestashop-network
networks:
prestashop-network:
name: prestashop-network
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。