mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-11 01:32:10 +00:00
added file-watcher-port and socketio-port + Readme changes
Former-commit-id: 34f60750dc
This commit is contained in:
parent
30bfe369ec
commit
ac115c2ff7
15
README.md
15
README.md
@ -23,14 +23,16 @@ These instructions will get you a copy of the project up and running on your loc
|
||||
|
||||
```
|
||||
ports:
|
||||
- "3306:3306"
|
||||
- "8000:8000"
|
||||
- "11000:11000"
|
||||
- "12000:12000"
|
||||
- "13000:13000"
|
||||
- "3307:3307" mariadb-port
|
||||
- "8000:8000" webserver-port
|
||||
- "11000:11000" redis-cache
|
||||
- "12000:12000" redis-queue
|
||||
- "13000:13000" redis-socketio
|
||||
- "9000:9000" socketio-port
|
||||
- "6787:6787" file-watcher-port
|
||||
```
|
||||
|
||||
Expose port 3306 inside the container on port 3306 on ALL local host interfaces. In order to bind to only one interface, you may specify the host's IP address as `([<host_interface>:[host_port]])|(<host_port>):<container_port>[/udp]` as defined in the [docker port binding documentation](http://docs.docker.com/userguide/dockerlinks/). The port 3306 of the mariadb container and port 8000 of the frappe container is exposed to the host machine and other containers.
|
||||
Expose port 3307 inside the container on port 3307 on ALL local host interfaces. In order to bind to only one interface, you may specify the host's IP address as `([<host_interface>:[host_port]])|(<host_port>):<container_port>[/udp]` as defined in the [docker port binding documentation](http://docs.docker.com/userguide/dockerlinks/). The port 3307 of the mariadb container and port 8000 of the frappe container is exposed to the host machine and other containers.
|
||||
|
||||
#### volumes:
|
||||
|
||||
@ -174,4 +176,3 @@ Feel free to contribute to this project and make the container better
|
||||
## License
|
||||
|
||||
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
|
||||
|
||||
|
@ -8,7 +8,7 @@ services:
|
||||
volumes:
|
||||
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
|
||||
ports:
|
||||
- "3307:3307"
|
||||
- "3307:3307" #mariadb-port
|
||||
container_name: mariadb
|
||||
|
||||
redis-cache:
|
||||
@ -46,7 +46,9 @@ services:
|
||||
- ./frappe-bench:/home/frappe/frappe-bench
|
||||
build: .
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8000:8000" #webserver_port
|
||||
- "9000:9000" #socketio_port
|
||||
- "6787:6787" #file_watcher_port
|
||||
stdin_open: true
|
||||
tty: true
|
||||
links:
|
||||
@ -60,5 +62,3 @@ services:
|
||||
- redis-queue
|
||||
- redis-socketio
|
||||
container_name: frappe
|
||||
|
||||
#TODO: bind ports of the redis and frappe containers
|
||||
|
Loading…
Reference in New Issue
Block a user