Skip to content

Commit

Permalink
IN: Add env parameters in docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Quetzacoalt91 committed Dec 21, 2017
1 parent 68ca4e0 commit 8074995
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -66,7 +66,9 @@ To run the software, use:
>
docker-compose up

It will bind your ports 80 and 443 to the web server. If you want to use other ports, open and modify the file `docker-compose.yml`.
Then reach your shop with the URL http://localhost:8001

It will bind your ports 8001 to the web server. If you want to use other ports, open and modify the file `docker-compose.yml`.
MySQL credentials can also be found and modified in this file if needed.

User documentation
Expand Down
11 changes: 9 additions & 2 deletions docker-compose.yml
Expand Up @@ -17,9 +17,16 @@ services:
apache:
container_name: prestashop-git
image: prestashop/prestashop-git:7
environment:
PS_INSTALL_AUTO: 1
DB_PASSWD: password
DB_NAME: prestashop
DB_SERVER: mysql
PS_DOMAIN: localhost:8001
PS_FOLDER_INSTALL: install-dev
PS_FOLDER_ADMIN: admin-dev
ports:
- "80:80"
- "443:443"
- "8001:80"
volumes:
- ./:/var/www/html/
restart: always
Expand Down

0 comments on commit 8074995

Please sign in to comment.