Configuration:
curl -O https://raw.githubusercontent.com/als698/opencart-docker/master/docker-compose.yml && docker-compose up -d
docker pull als698/opencart
docker pull als698/php:7.4
Admin OC
phpMyAdmin - http://localhost/pma/
Default Env
db/ - Database
db/data/ - Database data - /db/data/
db/opencart.sql - Import database - /db/opencart.sql
web/ - Web files
web/oc.zip - Opencart files - /var/www/html/
web/storage.zip - Opencart storage - /var/www/storage/
web/pma.zip - phpMyAdmin - /var/www/pma/
If you want to use your opencart files, don't forget to remove your config files before you run it (config.php and admin/config.php)
This image was inspired by khromov/alpine-nginx-php8, TrafeX/docker-php-nginx, wangxian/alpine-mysql and this subsequent fork
Content type
Image
Digest
Size
95.1 MB
Last updated
over 4 years ago
docker pull als698/opencart