fix: gitignore .devcontainer
This commit is contained in:
19
devcontainer-example/devcontainer.json
Normal file
19
devcontainer-example/devcontainer.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "Frappe Bench",
|
||||
"appPort": [8000, 9000, 6787],
|
||||
"remoteUser": "frappe",
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/bash"
|
||||
},
|
||||
"dockerComposeFile": "./docker-compose.yml",
|
||||
"service": "frappe",
|
||||
"workspaceFolder": "/workspace/development",
|
||||
"shutdownAction": "stopCompose",
|
||||
"extensions": [
|
||||
"ms-python.python",
|
||||
"auchenberg.vscode-browser-preview",
|
||||
"grapecity.gc-excelviewer",
|
||||
"mtxr.sqltools",
|
||||
"visualstudioexptteam.vscodeintellicode"
|
||||
]
|
||||
}
|
||||
42
devcontainer-example/docker-compose.yml
Normal file
42
devcontainer-example/docker-compose.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
version: "3.7"
|
||||
services:
|
||||
mariadb:
|
||||
image: mariadb:10.3
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=123
|
||||
- MYSQL_USER=root
|
||||
volumes:
|
||||
- ../installation/frappe-mariadb.cnf:/etc/mysql/conf.d/frappe.cnf
|
||||
- mariadb-vol:/var/lib/mysql
|
||||
|
||||
# Enable PostgreSQL only if you use it, see development/README.md for more information.
|
||||
# postgresql:
|
||||
# image: postgres:11.8
|
||||
# restart: on-failure
|
||||
# environment:
|
||||
# - POSTGRES_PASSWORD=123
|
||||
# volumes:
|
||||
# - postgresql-vol:/var/lib/postgresql/data
|
||||
|
||||
redis-cache:
|
||||
image: redis:alpine
|
||||
|
||||
redis-queue:
|
||||
image: redis:alpine
|
||||
|
||||
redis-socketio:
|
||||
image: redis:alpine
|
||||
|
||||
frappe:
|
||||
image: frappe/bench:latest
|
||||
command: sleep infinity
|
||||
volumes:
|
||||
- ..:/workspace:cached
|
||||
working_dir: /workspace/development
|
||||
ports:
|
||||
- "8000-8005:8000-8005"
|
||||
- "9000-9005:9000-9005"
|
||||
|
||||
volumes:
|
||||
mariadb-vol:
|
||||
postgresql-vol:
|
||||
Reference in New Issue
Block a user