2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-23 10:38:58 +00:00

Merge pull request #254 from africlouds/develop

Multibench support in devel environment
This commit is contained in:
Revant Nandgaonkar 2020-06-10 22:33:29 +05:30 committed by GitHub
commit afd9dc560f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

2
.devcontainer/Dockerfile Normal file
View File

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

View File

@ -19,14 +19,14 @@ services:
image: redis:alpine
frappe:
image: frappe/bench:latest
build: .
command: sleep infinity
volumes:
- ..:/workspace:cached
working_dir: /workspace/development
ports:
- "8000:8000"
- "9000:9000"
- "8000-8005:8000-8005"
- "9000-9005:9000-9005"
volumes:
mariadb-vol:

View File

@ -244,6 +244,14 @@ 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
```