Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ docker pull callidon/sage
docker run -v path/to/config-file:/opt/data/ -p 8000:8000 callidon/sage sage /opt/data/config.yaml -w 4 -p 8000
```

Notice: you can also use [docker-compose.yml](https://github.com/sage-org/sage-engine/blob/master/docker-compose.yml) instead of the long docker run command.

# Documentation

Expand Down
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: '3.4'

services:

sage-engine:
container_name: sage-engine
image: callidon/sage
volumes:
- .:/opt/data/
tty: true # to have nice outputs
stdin_open: true # to be able to use CTRL+C to stop the container
ports:
- 8000:8000
command: sage /opt/data/config.yaml -w 4 -p 8000