mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-26 16:48:25 +00:00
added file-watcher-port and socketio-port + Readme changes
Former-commit-id: 34f60750dc8e1ccd14db4e73504fe4b39f1c70fc
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:
|
ports:
|
||||||
- "3306:3306"
|
- "3307:3307" mariadb-port
|
||||||
- "8000:8000"
|
- "8000:8000" webserver-port
|
||||||
- "11000:11000"
|
- "11000:11000" redis-cache
|
||||||
- "12000:12000"
|
- "12000:12000" redis-queue
|
||||||
- "13000:13000"
|
- "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:
|
#### volumes:
|
||||||
|
|
||||||
@ -174,4 +176,3 @@ Feel free to contribute to this project and make the container better
|
|||||||
## License
|
## License
|
||||||
|
|
||||||
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
|
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
|
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
|
||||||
ports:
|
ports:
|
||||||
- "3307:3307"
|
- "3307:3307" #mariadb-port
|
||||||
container_name: mariadb
|
container_name: mariadb
|
||||||
|
|
||||||
redis-cache:
|
redis-cache:
|
||||||
@ -46,7 +46,9 @@ services:
|
|||||||
- ./frappe-bench:/home/frappe/frappe-bench
|
- ./frappe-bench:/home/frappe/frappe-bench
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000" #webserver_port
|
||||||
|
- "9000:9000" #socketio_port
|
||||||
|
- "6787:6787" #file_watcher_port
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
links:
|
links:
|
||||||
@ -60,5 +62,3 @@ services:
|
|||||||
- redis-queue
|
- redis-queue
|
||||||
- redis-socketio
|
- redis-socketio
|
||||||
container_name: frappe
|
container_name: frappe
|
||||||
|
|
||||||
#TODO: bind ports of the redis and frappe containers
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user