mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-09 14:50:58 +00:00
refactor: Disable PostgreSQL by default, fixes #317
This commit is contained in:
parent
5a756ce2fa
commit
55e4a53d5b
@ -9,13 +9,14 @@ services:
|
|||||||
- ../installation/frappe-mariadb.cnf:/etc/mysql/conf.d/frappe.cnf
|
- ../installation/frappe-mariadb.cnf:/etc/mysql/conf.d/frappe.cnf
|
||||||
- mariadb-vol:/var/lib/mysql
|
- mariadb-vol:/var/lib/mysql
|
||||||
|
|
||||||
postgresql:
|
# Enable PostgreSQL only if you use it, see development/README.md for more information.
|
||||||
image: postgres:11.8
|
# postgresql:
|
||||||
restart: on-failure
|
# image: postgres:11.8
|
||||||
environment:
|
# restart: on-failure
|
||||||
- POSTGRES_PASSWORD=123
|
# environment:
|
||||||
volumes:
|
# - POSTGRES_PASSWORD=123
|
||||||
- postgresql-vol:/var/lib/postgresql/data
|
# volumes:
|
||||||
|
# - postgresql-vol:/var/lib/postgresql/data
|
||||||
|
|
||||||
redis-cache:
|
redis-cache:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
@ -24,7 +24,10 @@ cd frappe_docker
|
|||||||
|
|
||||||
## Use VSCode Remote Containers extension
|
## 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:
|
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