Sign inSign up

fighterl/opencart

By fighterl

•Updated about 2 years ago

Create base PHP8.2 and Apache2 for opencart docker

Image
0

207

fighterl/opencart repository overview

This Docker is only include PHP8.2 and Apache2 for opencart service . It did not include opencart .So you can downlaod the latest opencart and copy to volume. You need dowload and place to volume path "./opencart_data:/var/www" html folder and chown "./opencart_data " to www-data

⁠docker-compose.yml
version: '3.8'

services:
  mariadb:
    image: mariadb:latest
    environment:
      MARIADB_ROOT_PASSWORD: rootpassword
      MARIADB_USER: opencart
      MARIADB_DATABASE: opencart
      MARIADB_PASSWORD: opencart
    volumes:
      - ./mariadb_data:/var/lib/mysql
    networks:
      - innernetwork
    restart: unless-stopped

      
  app:
    image: fighterl/opencart:latest
    ports:
      - 19030:80
      - 19031:443
    user: root
    volumes:
      - ./opencart_data:/var/www
    depends_on:
      - mariadb
    links:
      - mariadb:db
    networks:
      - innernetwork
      - outernetwork
    restart: unless-stopped

volumes:
  mariadb_data:
  opencart_data:


networks:
  innernetwork:
    external: true
  outernetwork:
    external: true

Tag summary

Content type

Image

Digest

sha256:1a6b0c8fe…

Size

207.2 MB

Last updated

about 2 years ago

docker pull fighterl/opencart