nls/doc/DockerSetup.md
2025-03-19 21:12:10 +01:00

24 lines
789 B
Markdown

# Docker Setup
1. Install Docker on your system where NLS should run
2. Download latest release (*date of writing `v3.4.1`*)
3. Copy archive (`nls-X.Y.Z-bios.zip`) to your Docker-Server
4. Set version \
`export VERSION=3.4.1`
5. Extract archive \
`unzip nls-$VERSION-bios.zip`
`cd nls-$VERSION-bios`
6. Import Images into Docker \
`docker load --input dls_appliance_$VERSION.tar.gz` \
`docker load --input dls_pgsql_$VERSION.tar.gz` \
`docker load --input dls_upgrade_$VERSION.tar.gz` (optional)
7. Goto `docker` directory
`cd docker`
8. Create Environment-File
`touch .env`
9. Add the following line to this file
`echo "DLS_PUBLIC_IP=<your-ipv4>" > .env`
10. Start Docker-Stack
`docker compose up -d`
11. Show running containers \
`docker container ls`