Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- Updated the docker-compose with a new service and changed ports; #324

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,23 @@ Checkout the [getting started guide](doc/README.md)
## Plugins
For available plugins and information on how to install them please visit the [roBrowserLegacy-plugins](https://github.com/MrAntares/roBrowserLegacy-plugins) repository.

## Running up with Docker

If you have Docker and Docker Compose available, you can run the following command:

```bash
docker compose up -d
```

If the containers are up, they will be accessible from the following addresses/ports:

* http://localhost:8001/
* The Remote Client API, served from the [client](./client) directory;
* http://localhost
* The roBrowser client, served from the [dist/web](./dist/Web) directory. You can compile the code on the ro-browser container;
* http://localhost:8000
* Anything that you run on the ro-browser container, you can execute npm run live or something else in there;

## Contributing

roBrowser was started by this [awesome team](https://github.com/vthibault/roBrowser/graphs/contributors) and [we](https://github.com/MrAntares/roBrowserLegacy/graphs/contributors) continue it. We also manually add content from other forks that didn't made it back to the original branch, huge shoutout to them! If you wish to contribute then check out the [documentation](http://www.robrowser.com/getting-started#API) or the code itself and submit a pull request!
Expand Down
12 changes: 12 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ services:
target: server
volumes:
- ./client:/var/www/html
ports:
- "8001:80"
networks:
- "ro-browser"

ro-browser-dist:
build:
context: .
dockerfile: Dockerfile
target: server
volumes:
- ./dist/Web:/var/www/html
ports:
- "80:80"
networks:
Expand Down