Skip to content

Commit

Permalink
Some final Docker stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
muratcakir committed Aug 12, 2022
1 parent 0837df2 commit 2bb91b2
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion build/dockerize.linux.nobuild.sh
Original file line number Diff line number Diff line change
@@ -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;
2 changes: 1 addition & 1 deletion build/dockerize.linux.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cd ..
docker build -t smartstore .
docker build -t ghcr.io/smartstore/smartstore-linux .
echo 'Press enter to exit...'; read dummy;
2 changes: 1 addition & 1 deletion build/dockerize.windows.nobuild.sh
Original file line number Diff line number Diff line change
@@ -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;
34 changes: 17 additions & 17 deletions docker-compose.sqlserver.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
46 changes: 23 additions & 23 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit 2bb91b2

Please sign in to comment.