1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:14:57 +02:00
dockerfiles/opencart
2021-04-16 15:47:27 +08:00
..
docker-compose.yml update opencart 2021-04-16 15:47:27 +08:00
Dockerfile update opencart 2021-04-16 15:47:27 +08:00
README.md update opencart 2021-04-16 15:47:27 +08:00

opencart

OpenCart is designed feature rich, easy to use, search engine friendly and with a visually appealing interface.

docker-compose.yml

version: "3.8"

services:

  opencart:
    image: vimagick/opencart
    ports:
      - "8000:80"
    volumes:
      - /var/www
    depends_on:
      - mysql
    restart: unless-stopped

  mysql:
    image: mysql
    volumes:
      - ./data:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=root
      - MYSQL_DATABASE=opencart
    restart: unless-stopped