Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CNMM instructions for Docker #382

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 24 additions & 8 deletions docs/documentation/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ to run alt least two containers.
git clone https://github.com/PxTools/PxWebApi.git
```

## PX-file database
## Database

Follow instructions for one of the databases

### PX-file database

- Obtain a **copy** of a PX-file database from a PxWeb 2023 (or older) installation

Expand All @@ -51,15 +55,31 @@ to run alt least two containers.
cd ../../../
```

### CNMM database

- It is possible to connect to a CNMM database from Docker, subject to your
office's local security policies.

These are the files you need to change. A detailed description is in the
[customization chapter](customization.md).

```sh
docker/pxwebapi/appsettings.json
docker/pxwebapi/SqlDb.config
```

## Start Docker

- Start PxWebApi and PxWeb

```sh
docker compose up
```

During (every) startup in this demo, the `Menu.xml` and searchindex `_INDEX`
folder will be regenerated. This can take some time on lager databases. Since
we are still in beta, please do not run this on your production servers.
During (every) startup in this demo, the `Menu.xml` (PX-file database) and
searchindex `_INDEX` folder will be regenerated. This can take some time on
lager databases. Since we are still in beta, please do not run this on your
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a typo here? "lager" ?

production servers.

- Your API should now be running on

Expand All @@ -75,7 +95,3 @@ to run alt least two containers.
If you used the tinydatabase.zip this is a valid link

- <http://localhost:8080/table/TAB004>

## CNMM database

comming soon
Loading