Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
version: "3.4"
services:
    web:
        image: smartstoreofficialghcr.io/smartstore/smartstore
   -linux
    container_name: web
        ports:
            - "80:80"
     
  restart: unless-stopped         depends_on:
    
       - db
        volumes:
 
          - "CD:/mount/smtenants/mysql:/app/App_Data/Tenants"
 
  db:
 
      image: mysql
        container_name: mysql
    environment:
   environment:   #MYSQL_DATABASE: smartstore
      #MYSQL_USER:  MYSQL_DATABASE: smartstore"root"
      MYSQL_PASSWORD: "Smartstore2022!"
      MYSQL_ROOT_PASSWORD: "Smartstore2022!"
        ports:
 
        - '3307:3306'
   
    expose:
   
      - '3306'
        volumes:
          - mysql:/var/lib/mysql

volumes:
  mysql:

...

Code Block
services:
    web:
        image: smartstoreofficialghcr.io/smartstore/smartstore-linux
        container_name: web
        ports:
            - "80:80"
        restart: unless-stopped
        depends_on:
            - db
        volumes:
            - "C:/mount/smtenants/mysql:/app/App_Data/Tenants"
    db:
        image: "mcr.microsoft.com/mssql/server"
        container_name: sqlserver
        environment:
            SA_PASSWORD: "Smartstore2022!"
            ACCEPT_EULA: "Y"
            MSSQL_PID: "Express"
        ports:
          - '1434:1433'
        expose:
          - '1433'
        volumes:
          - mssql_system:/var/opt/mssql/
          - mssql_user:/var/opt/sqlserver/
volumes:
  mssql_system:
  mssql_user:

...