Skip to content

Commit

Permalink
Merge pull request PrestaShop#35496 from SharakPL/fix-docker-db
Browse files Browse the repository at this point in the history
Fix docker config
  • Loading branch information
SharakPL authored Mar 12, 2024
2 parents ff87d16 + aa4d2fd commit 5ef8493
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .docker/docker_run_git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ echo "** Front-office: http://${PS_DOMAIN}/"
echo "** Back-office: http://${PS_DOMAIN}/admin-dev"
echo "** Login with:"
echo "** username: ${ADMIN_MAIL}"
echo "** password: Correct Horse Battery Staple"
echo "** (if you didn't define your own in ADMIN_PASSWORD environment variable)"
echo "** password: ${ADMIN_PASSWD}"
if [ $PS_USE_DOCKER_MAILDEV -eq 1 ]; then
echo "**"
echo "** To view sent emails point your browser to http://localhost:1080/"
Expand Down
9 changes: 2 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ version: '2.1'

volumes:
db-data:
name: db-data
vendor:
name: vendor
var:
name: var

services:
mysql:
Expand All @@ -16,8 +11,8 @@ services:
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: prestashop
MYSQL_DATABASE: prestashop
MYSQL_ROOT_PASSWORD: ${DB_PASSWD:-prestashop}
MYSQL_DATABASE: ${DB_NAME:-prestashop}
restart: unless-stopped

keycloak:
Expand Down

0 comments on commit 5ef8493

Please sign in to comment.