Skip to content
This repository was archived by the owner on Jun 17, 2019. It is now read-only.

Commit c6f9060

Browse files
committed
Run NAV container example + other changes.
- Run NAV container example - Added at least some of the most basic documentation.
1 parent c7d09db commit c6f9060

File tree

11 files changed

+54
-2
lines changed

11 files changed

+54
-2
lines changed

root/build/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Dockerfiles for MS Dynamics NAV - root directory
2+
[![Join the chat at https://gitter.im/dockerfiles-dynamics-nav/Lobby](https://badges.gitter.im/dockerfiles-dynamics-nav/Lobby.svg)](https://gitter.im/dockerfiles-dynamics-nav/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
3+
4+
Run `_rebuild.all.ps1` script to rebuild all necessary images.

root/build/_rebuild.all.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
[CmdletBinding()]
2+
param (
3+
4+
)
5+
16
# Build NAV imaegs.
27
Push-Location
38
try {
@@ -18,4 +23,4 @@ try {
1823
Write-Error $_.Exception.Message
1924
} finally {
2025
Pop-Location
21-
}
26+
}

root/build/nav/_rebuild.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
[CmdletBinding()]
2+
param (
3+
4+
)
5+
16
. (Join-Path $PSScriptRoot '_createlinks.ps1')
27
. (Join-Path $PSScriptRoot '_presetvars.ps1')
38

@@ -39,4 +44,4 @@ if ($versionArgSupported -eq $true) {
3944
docker build -t $($repo + '/' + $navWebImageName) --build-arg NAV_VERSION=$navVersion -f InstallWeb.Dockerfile .
4045
} else {
4146
docker build -t $($repo + '/' + $navWebImageName) -f (. $convScriptPath (Get-ChildItem InstallWeb.Dockerfile).FullName $navVersion) .
42-
}
47+
}

root/build/nav_dvd/_rebuild.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
[CmdletBinding()]
2+
param (
3+
4+
)
5+
16
. (Join-Path $PSScriptRoot '_presetvars.ps1')
27
. (Join-Path $PSScriptRoot '_createlinks.ps1')
38

root/run/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Dockerfiles for MS Dynamics NAV - root directory
2+
[![Join the chat at https://gitter.im/dockerfiles-dynamics-nav/Lobby](https://badges.gitter.im/dockerfiles-dynamics-nav/Lobby.svg)](https://gitter.im/dockerfiles-dynamics-nav/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
3+
4+
In this folder (or we can say in the subfolders) will be included examples (standard `docker run` as well as `docker-compose` examples) to show how to instantiate various containers with different configurations.

root/run/nav-sql/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Dockerfiles for MS Dynamics NAV - root directory
2+
[![Join the chat at https://gitter.im/dockerfiles-dynamics-nav/Lobby](https://badges.gitter.im/dockerfiles-dynamics-nav/Lobby.svg)](https://gitter.im/dockerfiles-dynamics-nav/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
3+
4+
Instantiate one NAV container and one SQL container using SQL authentication between NAV and SQL as well on the client side.

root/run/nav-sql/_run.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
[CmdletBinding()]
2+
param (
3+
4+
)
5+
16
. (Join-Path $PSScriptRoot '_createlinks.ps1')
27
. (Join-Path $PSScriptRoot '_presetvars.ps1')
38

root/run/nav/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Dockerfiles for MS Dynamics NAV - root directory
2+
[![Join the chat at https://gitter.im/dockerfiles-dynamics-nav/Lobby](https://badges.gitter.im/dockerfiles-dynamics-nav/Lobby.svg)](https://gitter.im/dockerfiles-dynamics-nav/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
3+
4+
Instantiate independent NAV containers (right now an example with SQL authentication between NAV and SQL as well on the client side). The SQL must be already present somewher and must be accesible.

root/run/nav/_createlinks.ps1

Whitespace-only changes.

root/run/nav/_presetvars.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
. (Join-Path $PSScriptRoot '..\..\_presetvars.sql.ps1')
2+
. (Join-Path $PSScriptRoot '..\..\_presetvars.nav.ps1')

0 commit comments

Comments
 (0)