-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🧱(cookiecutter) select databases to run sites
- Changed the activate script to provide also the possibility of select the database to build the app - The intention is to provide flexibility to fetch images from a given dockerhub, and when it is not provided, the dockerhub continues following the standard which is fundocker.
- Loading branch information
1 parent
657d0da
commit e6e2931
Showing
32 changed files
with
8,827 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
cookiecutter/{{cookiecutter.organization}}-richie-site-factory/.cookiecutter_default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
default_context: | ||
_organization: {{cookiecutter.organization}} | ||
_org_dockerhub: {{cookiecutter.org_dockerhub}} | ||
_nginx_image_name: {{cookiecutter.nginx_image_name}} | ||
_nginx_image_tag: {{cookiecutter.nginx_image_tag}} | ||
_elasticsearch_image_name: {{cookiecutter.elasticsearch_image_name}} |
4 changes: 2 additions & 2 deletions
4
cookiecutter/{{cookiecutter.organization}}-richie-site-factory/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
cookiecutter/{{cookiecutter.organization}}-richie-site-factory/docker-compose-mysql.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
services: | ||
mysql: | ||
image: mysql:8.0 | ||
ports: | ||
- "3306:3306" | ||
environment: | ||
- MYSQL_ALLOW_EMPTY_PASSWORD=yes | ||
- MYSQL_ROOT_PASSWORD= | ||
- MYSQL_DATABASE=richie_${RICHIE_SITE:?} | ||
command: --default-authentication-plugin=caching_sha2_password | ||
healthcheck: | ||
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"] | ||
interval: 1s | ||
timeout: 2s | ||
retries: 300 | ||
volumes: | ||
- ./data/db/${RICHIE_SITE:?}:/var/lib/mysql |
14 changes: 14 additions & 0 deletions
14
cookiecutter/{{cookiecutter.organization}}-richie-site-factory/docker-compose-postgresql.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
services: | ||
postgresql: | ||
image: postgres:16.4 | ||
ports: | ||
- "5472:5432" | ||
env_file: | ||
- env.d/postgresql | ||
healthcheck: | ||
test: ["CMD-SHELL", "pg_isready"] | ||
interval: 1s | ||
timeout: 2s | ||
retries: 300 | ||
volumes: | ||
- ./data/db/${RICHIE_SITE:?}:/var/lib/postgresql/data |
1 change: 1 addition & 0 deletions
1
cookiecutter/{{cookiecutter.organization}}-richie-site-factory/docker-compose-sqlite.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# This file is empty on purpose! |
Oops, something went wrong.