Skip to content
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
5 changes: 4 additions & 1 deletion server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ The container image can be built via:
$ docker build -t basyx-python-server -f Dockerfile ..
```

Note that when cloning this repository on Windows, Git may convert the line separators to CRLF. This breaks `entrypoint.sh` and `stop-supervisor.sh`. Ensure both files use LF line separators before building.

## Running

### Storage
Expand Down Expand Up @@ -77,12 +79,13 @@ services:
- "8080:80"
volumes:
- ./storage:/storage

````

Here files are read from `/storage` and the server can be accessed at http://localhost:8080/api/v3.0/ from your host system.
To get a different setup this compose.yaml file can be adapted and expanded.

Note that the `Dockerfile` has to be specified explicitly, as the build context must be set to the parent directory of `/server` to allow access to the local `/sdk`.

## Acknowledgments

This Dockerfile is inspired by the [tiangolo/uwsgi-nginx-docker][10] repository.
Expand Down
Loading