mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-09 14:50:58 +00:00
Merge pull request #254 from africlouds/develop
Multibench support in devel environment
This commit is contained in:
commit
afd9dc560f
2
.devcontainer/Dockerfile
Normal file
2
.devcontainer/Dockerfile
Normal file
@ -0,0 +1,2 @@
|
||||
FROM frappe/bench:latest
|
||||
EXPOSE 8000-8005 9000-9005 6787
|
@ -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:
|
||||
|
@ -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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user