-
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.
- Added in the activate script the possibility to select the database and the languages that the activating site will support. It also reflects in changes in the docker compose file in order to run the site with the selected database.
- Loading branch information
1 parent
0cd08b2
commit 23e52b8
Showing
13 changed files
with
237 additions
and
81 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
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.