0% found this document useful (0 votes)
77 views

Shopizer Master Docker-Compose

This document defines a docker-compose configuration file that runs 3 containers - shopizer-db (MySQL database), shopizer (Shopizer application), and shopizer-admin and shopizer-shop (Shopizer admin and shop front-end applications). It specifies environment variables, images, networks, volumes and ports for linking the containers together.

Uploaded by

scribd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views

Shopizer Master Docker-Compose

This document defines a docker-compose configuration file that runs 3 containers - shopizer-db (MySQL database), shopizer (Shopizer application), and shopizer-admin and shopizer-shop (Shopizer admin and shop front-end applications). It specifies environment variables, images, networks, volumes and ports for linking the containers together.

Uploaded by

scribd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

---

services:
shopizer-db:
environment:
- MYSQL_ROOT_PASSWORD=shopizer123
- MYSQL_DATABASE=SALESMANAGER
- MYSQL_USER=shopizer_db_user
- MYSQL_PASSWORD=shopizer_db_password
image: mysql/mysql-server:8.0.28
container_name: shopizer-db
networks:
- shopizer-network
ports:
- "3307:3306"
volumes:
- $PWD/db:/var/lib/mysql
#Infinispan image management
shopizer:
depends_on:
- shopizer-db
image: shopizerecomm/shopizer:latest
container_name: shopizer
environment:
- "SPRING_PROFILES_ACTIVE=mysql"
- "db.jdbcUrl=jdbc:mysql://shopizer-db:3306/SALESMANAGER?
autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"
- "db.user=shopizer_db_user"
- "db.password=shopizer_db_password"
- "elasticsearch.security.password=NOTREQUIRED"
- "config.cms.contentUrl=http://localhost:8080"
- "config.cms.method=default"
- "elasticsearch.server.host=http://localhost"
- "elasticsearch.server.port=9200"
mem_limit: 2048m
networks:
- shopizer-network
links:
- shopizer-db
ports:
- "8080:8080"
volumes:
- $PWD/files:/files
shopizer-admin:
image: shopizerecomm/shopizer-admin:latest
container_name: shopizer-admin
environment:
- "APP_BASE_URL=http://localhost:8080/api"
networks:
- shopizer-network
ports:
- "4200:80"
shopizer-shop:
image: shopizerecomm/shopizer-shop-reactjs:latest
container_name: shopizer-shop
environment:
- "APP_MERCHANT=DEFAULT"
- "APP_BASE_URL=http://localhost:8080"
networks:
- shopizer-network
ports:
- "80:80"
version: "2.2"

networks:
shopizer-network:

You might also like