Some final Docker stuff

This commit is contained in:
Murat Cakir 2022-08-12 21:57:09 +02:00
parent 0837df2213
commit 2bb91b2b5f
5 changed files with 43 additions and 43 deletions

View File

@ -1,3 +1,3 @@
cd ..
docker build -t smartstore -f NoBuild.Dockerfile .
docker build -t ghcr.io/smartstore/smartstore-linux -f NoBuild.Dockerfile .
echo 'Press enter to exit...'; read dummy;

View File

@ -1,3 +1,3 @@
cd ..
docker build -t smartstore .
docker build -t ghcr.io/smartstore/smartstore-linux .
echo 'Press enter to exit...'; read dummy;

View File

@ -1,3 +1,3 @@
cd ..
docker build -t smartstore -f Nano.Dockerfile .
docker build -t ghcr.io/smartstore/smartstore-windows -f Nano.Dockerfile .
echo 'Press enter to exit...'; read dummy;

View File

@ -1,21 +1,21 @@
services:
web:
volumes:
- "D:/mount/smtenants/sqlserver:/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/
web:
volumes:
- "D:/mount/smtenants/sqlserver:/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:

View File

@ -1,28 +1,28 @@
version: "3.4"
services:
web:
image: smartstore
container_name: web
ports:
- "80:80"
depends_on:
- db
volumes:
- "D:/mount/smtenants/mysql:/app/App_Data/Tenants"
db:
image: mysql
container_name: mysql
environment:
#MYSQL_DATABASE: smartstore
#MYSQL_USER: "root"
MYSQL_PASSWORD: "Smartstore2022!"
MYSQL_ROOT_PASSWORD: "Smartstore2022!"
ports:
- '3307:3306'
expose:
- '3306'
volumes:
- mysql:/var/lib/mysql
web:
image: ghcr.io/smartstore/smartstore-linux
container_name: web
ports:
- "80:80"
depends_on:
- db
volumes:
- "D:/mount/smtenants/mysql:/app/App_Data/Tenants"
db:
image: mysql
container_name: mysql
environment:
#MYSQL_DATABASE: smartstore
#MYSQL_USER: "root"
MYSQL_PASSWORD: "Smartstore2022!"
MYSQL_ROOT_PASSWORD: "Smartstore2022!"
ports:
- '3307:3306'
expose:
- '3306'
volumes:
- mysql:/var/lib/mysql
volumes:
mysql: