mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-08 22:31:07 +00:00
Merge pull request #256 from revant/improve-devcontainer
feat(frappe/bench): allow 5 benches
This commit is contained in:
commit
da4f866543
@ -1,2 +0,0 @@
|
|||||||
FROM frappe/bench:latest
|
|
||||||
EXPOSE 8000-8005 9000-9005 6787
|
|
@ -19,7 +19,7 @@ services:
|
|||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
|
||||||
frappe:
|
frappe:
|
||||||
build: .
|
image: frappe/bench:latest
|
||||||
command: sleep infinity
|
command: sleep infinity
|
||||||
volumes:
|
volumes:
|
||||||
- ..:/workspace:cached
|
- ..:/workspace:cached
|
||||||
|
@ -113,4 +113,4 @@ RUN bash -c "node --version" \
|
|||||||
&& bash -c "npm --version" \
|
&& bash -c "npm --version" \
|
||||||
&& bash -c "yarn --version"
|
&& bash -c "yarn --version"
|
||||||
|
|
||||||
EXPOSE 8000 9000 6787
|
EXPOSE 8000-8005 9000-9005 6787
|
||||||
|
@ -244,13 +244,6 @@ EXIT;
|
|||||||
|
|
||||||
In case you don't use VSCode, you may start the containers manually with the following command:
|
In case you don't use VSCode, you may start the containers manually with the following command:
|
||||||
|
|
||||||
### Building the containers
|
|
||||||
```shell
|
|
||||||
cd .devcontainer
|
|
||||||
docker-compose build
|
|
||||||
cd ..
|
|
||||||
```
|
|
||||||
|
|
||||||
### Running the containers
|
### Running the containers
|
||||||
```shell
|
```shell
|
||||||
docker-compose -f .devcontainer/docker-compose.yml up -d
|
docker-compose -f .devcontainer/docker-compose.yml up -d
|
||||||
|
Loading…
Reference in New Issue
Block a user