PrestaShop / PrestaShop/docker
I want to acccess by public-ip when PS_INSTALL_AUTO=1
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 281
- Forks
- 190
- PR merge metrics
- No merged PRs in 30d
Description
``
version: '3.8'
services:
prestashop:
image: prestashop/prestashop:${APP_VERSION}
container_name: ${APP_NAME}
ports:
- ${APP_PORT}:80
volumes:
- prestashop:/var/www/html
environment:
- PS_DEMO_MODE=1
- PS_INSTALL_AUTO=1
- PS_DOMAIN=${APP_SITE_URL}:{APP_PORT}
- PS_LANGUAGE=en
- PS_COUNTRY=GB
- PS_ALL_LANGUAGES=true
- DB_SERVER=mysql
- DB_USER=${DB_MYSQL_USER}
- DB_PASSWD=${DB_MYSQL_PASSWORD}
- DB_PREFIX=ps_
- ADMIN_MAIL=${EMAIL}
- ADMIN_PASSWD=${APP_PASSWORD}
depends_on:
- mysql
restart: always
mysql:
image: mysql:${DB_MYSQL_VERSION}
container_name: ${APP_NAME}-db
restart: always
ports:
- ${DB_MYSQL_PORT}:3306
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
volumes:
- mysql_data:/var/lib/mysql
environment:
MYSQL_DATABASE: ${DB_MYSQL_NAME}
MYSQL_USER: ${DB_MYSQL_USER}
MYSQL_PASSWORD: ${DB_MYSQL_PASSWORD}
MYSQL_ROOT_PASSWORD: ${DB_MYSQL_PASSWORD}
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided Docker Compose configuration, focusing on PS_INSTALL_AUTO, PS_DOMAIN, and the published port, then reproduce the installation with APP_SITE_URL set to the public IP. Done means the automatically installed PrestaShop instance is reachable through that public IP and the expected port; no test or source file is named.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100