2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00

Merge pull request #256 from revant/improve-devcontainer

feat(frappe/bench): allow 5 benches
This commit is contained in:
Revant Nandgaonkar 2020-06-11 13:44:59 +05:30 committed by GitHub
commit da4f866543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 11 deletions

View File

@ -1,2 +0,0 @@
FROM frappe/bench:latest
EXPOSE 8000-8005 9000-9005 6787

View File

@ -19,7 +19,7 @@ services:
image: redis:alpine
frappe:
build: .
image: frappe/bench:latest
command: sleep infinity
volumes:
- ..:/workspace:cached

View File

@ -113,4 +113,4 @@ RUN bash -c "node --version" \
&& bash -c "npm --version" \
&& bash -c "yarn --version"
EXPOSE 8000 9000 6787
EXPOSE 8000-8005 9000-9005 6787

View File

@ -244,13 +244,6 @@ EXIT;
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
```shell
docker-compose -f .devcontainer/docker-compose.yml up -d