mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-08 14:21:05 +00:00
Merge pull request #318 from ceefour/patch-317
refactor: Disable PostgreSQL by default, fixes #317
This commit is contained in:
commit
274f42cd3e
@ -9,13 +9,14 @@ services:
|
||||
- ../installation/frappe-mariadb.cnf:/etc/mysql/conf.d/frappe.cnf
|
||||
- mariadb-vol:/var/lib/mysql
|
||||
|
||||
postgresql:
|
||||
image: postgres:11.8
|
||||
restart: on-failure
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=123
|
||||
volumes:
|
||||
- postgresql-vol:/var/lib/postgresql/data
|
||||
# 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
|
||||
|
@ -24,7 +24,10 @@ cd frappe_docker
|
||||
|
||||
## Use VSCode Remote Containers extension
|
||||
|
||||
For most people getting started with Frappe development, the best solution is to use [ VSCode Remote - Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).
|
||||
For most people getting started with Frappe development, the best solution is to use [VSCode Remote - Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).
|
||||
|
||||
Before opening the folder in container, determine the database that you want to use. The default is MariaDB.
|
||||
If you want to use PostgreSQL instead, edit `.devcontainer/docker-compose.yml` and uncomment the section for `postgresql` service, and you may also want to comment `mariadb` as well.
|
||||
|
||||
VSCode should automatically inquire you to install the required extensions, that can also be installed manually as follows:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user