Open qiaofeng1227 opened 2 years ago
`` version: '3.8'
services: prestashop: image: prestashop/prestashop:${APP_VERSION} container_name: ${APP_NAME} ports:
mysql restart: always
mysql: image: mysql:${DB_MYSQL_VERSION} container_name: ${APP_NAME}-db restart: always ports:
networks: default: name: ${APP_NAME}
volumes: prestashop: mysql_data:` ``
DB_MYSQL_VERSION=5.7 DB_MYSQL_PORT=3306 DB_MYSQL_PASSWORD=uQ8E1wVTzG8SOk3! DB_MYSQL_NAME=prestashop DB_MYSQL_USER=prestashop APP_VERSION=latest APP_PORT=9001 APP_PASSWORD_INIT=True APP_USER=admin APP_PASSWORD=uQ8E1wVTzG8SOk3! APP_NAME=prestashop APP_SITE_URL=47.242.55.30 VOLUMES_PATH_PREFIX=./volumes DOMAIN=prestashop.example.com EMAIL=help@websoft9.com
`` version: '3.8'
services: prestashop: image: prestashop/prestashop:${APP_VERSION} container_name: ${APP_NAME} ports:
mysql restart: always
mysql: image: mysql:${DB_MYSQL_VERSION} container_name: ${APP_NAME}-db restart: always ports:
networks: default: name: ${APP_NAME}
volumes: prestashop: mysql_data:` ``