...
| Code Block |
|---|
docker run -d -p 8888:8888 odysseusol/odysseus:dev-latest |
Run with Docker compose
Here is a simple example for a startup docker compose file with
- WebStudio (see WebStudio)
- One Odysseus Server
- Nexmark (see Getting Started with Nexmark)
Just copy this file to some location on your local disk and run
| Code Block |
|---|
|
docker compose up -d |
| Code Block |
|---|
|
services:
frontend:
image: odysseusol/webstudio_frontend:latest
ports:
- "4200:80"
environment:
NODE_ENV: production
restart: always
depends_on:
- backend
backend:
image: odysseusol/webstudio_backend:latest
ports:
- "3000:3000"
environment:
NODE_ENV: production
MONGODB_URI: mongodb://database:27017/webstudio
SECRET_TOKEN: jwtSecretToken
DOWNLOAD_TOKEN: downloadToken
PROJECTS_FOLDER: projects
ACCESS_TOKEN_LIFESPAN: 43200
restart: always
depends_on:
- database
volumes:
- backenddata:/home/node/app/projects
- ./backend/logs:/home/node/app/logs
database:
image: mongo
restart: always
ports:
- "27017:27017"
volumes:
- mongodbdata:/data/db
nexmark:
image: odysseusol/nexmark
ports:
- 65440-65443:65440-65443
standalone01:
image: odysseusol/odysseus
stdin_open: true
ports:
- 18888:8888
volumes:
- ./standalone01:/var/lib/odysseus
|
Related articles
| Content by Label |
|---|
| showLabels | false |
|---|
| max | 5 |
|---|
| spaces | ODYSSEUS |
|---|
| showSpace | false |
|---|
| sort | modified |
|---|
| reverse | true |
|---|
| type | page |
|---|
| cql | label = "kb-how-to-article" and type = "page" and space = "ODYSSEUS" |
|---|
| labels | kb-how-to-article |
|---|
|
...