Run all OpenHotel stack locally with Docker.
| Service | Repo | URL |
|---|---|---|
| client | openhotel/openhotel |
http://localhost:1994 |
| auth | openhotel/auth |
http://localhost:2024 |
| web | openhotel/web |
http://localhost:2025 |
| onet | openhotel/onet |
http://localhost:9400 |
| asset-editor | openhotel/asset-editor |
http://localhost:2030 |
| static | openhotel/static |
http://localhost:1995 |
| s3 | SeaweedFS | http://localhost:9000 |
| Mailpit | http://localhost:8025 |
- Docker
- Deno
- Git
The service repos are cloned next to this one (or in REPOS_DIR from .env):
openhotel/
├── devkit/
├── openhotel/
├── auth/
├── onet/
├── web/
├── asset-editor/
└── static/
deno task setup # clone missing repos and create dev configs
deno task up auth # start auth
deno task seed # create users, hotel and tokens (seed.yml)
deno task up # everything (in background)
deno task up auth client # some services
deno task logs # logs of all services
deno task logs client # logs of one service
deno task down # stop everything
deno task reset # remove containers, s3 data and databases
deno task reset --configs # ...and the service configs
deno task reset --cache # ...and the deno caches3:
enabled: true
endpoint: localhost
port: 9000
useSSL: false
accessKey: openhotel
secretKey: openhotel
region: us-east-1
bucket: <service-name>