Sign inSign up

cmsmanhattan/cmsone

By cmsmanhattan

•Updated about 2 months ago

Image
0

1.5K

cmsmanhattan/cmsone repository overview

⁠

⁠CMS Manhattan One docker deployment script . Alfa version

⁠

⁠

⁠It creates Virtual network and map IP addresses to Docker containers for deployment

⁠So change address and sql init scrip for you deployment

⁠SQL init file by the URL https://bitbucket.org/cmsmanhattan/cmsmanhattan/src/master/sql/MySQLDump/⁠

⁠Add Load Balancer to the file if you need that

⁠

⁠Default setup

⁠http://xxx.xxx.xxx.xxx:80/cms⁠

⁠

services: db: # We use a mariadb image which supports both amd64 & arm64 architecture image: mariadb:10.6.4-focal # If you really want to use MySQL, uncomment the following line #image: mysql:8.0.27 # image: cmsmanhattan/cmsone:last command: '--default-authentication-plugin=mysql_native_password' volumes: - db_data:/var/lib/mysql - ./init.sql:/docker-entrypoint-initdb.d/init.sql #- ./init.sql:/docker-entrypoint-initdb.d/init.sql

networks:
  network:
    ipv4_address: 10.5.0.5  
restart: always
environment:
  - MYSQL_ROOT_PASSWORD=grabfix
  - MYSQL_DATABASE=cmsdb
  - MYSQL_USER=root
  - MYSQL_PASSWORD=grabfix
expose:
  - 3306
  - 33060

cmsmanhattan: image: cmsmanhattan/cmsone:0.0.6 ports: - 80:8080 restart: always environment: - CMS_DB_JDBC_URL=jdbc:mysql://10.5.0.5:3306/cmsdb - CMS_DB_USER=root - CMS_DB_PASSWORD=grabfix - CMS_DB_USE_SSL=false - CMS_DB_AUTO_RECONECT=false networks: network: ipv4_address: 10.5.0.4

volumes: db_data:

networks: network: driver: bridge ipam: config: - subnet: 10.5.0.0/16 gateway: 10.5.0.1

Tag summary

Content type

Image

Digest

sha256:582cb4dfc…

Size

367.3 MB

Last updated

2 months ago

docker pull cmsmanhattan/cmsone