-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from scieloorg/fix-docker-and-settings
Fix docker and settings
- Loading branch information
Showing
10 changed files
with
83 additions
and
142 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,25 +132,30 @@ docker-compose up | |
|
||
Variable | Example value | Description | ||
---------|---------------|------------ | ||
MINIO_HOST | `172.17.0.2:9000` | MinIO host address | ||
MINIO_ACCESS_KEY | `minioadmin` | MinIO username | ||
MINIO_SECRET_KEY | `minioadmin` | MinIO password | ||
MINIO_TIMEOUT | `10000` | MinIO connection timeout | ||
MINIO_SECURE | `false` | MinIO SSL flag (`true` or `false`) | ||
MINIO_SCIELO_COLLECTION | `spf_brazil` | MinIO collection name | ||
MINIO_SPF_DIR | `packages` | MinIO storage main directory | ||
PID_DATABASE_DSN | `postgresql+psycopg2://postgres:[email protected]:5432/pidmanager` | PID manager (PostgreSQL) string connection | ||
DATABASE_CONNECT_URL | `mongodb`://172.17.0.3:27017/opac | OPAC/Kernel database (MongoDB) string connection | ||
DJANGO_DEBUG | `1` | Django flag to see DEBUG messages) | ||
DJANGO_SECRET_KEY | `my_django_secret_key` | | ||
CELERY_BROKER_URL | `pyamqp://user:pass@host:port` | RabbitMQ address | ||
DATABASE_CONNECT_URL | `mongodb://user:pass@host:port/opac` | OPAC/Kernel database (MongoDB) string connection | ||
DJANGO_ADMIN_TRANSLATE | `1` | Django flag to run `django-admin compile_messages` | ||
DJANGO_ALLOWED_HOSTS | `localhost;127.0.0.1;[::1]` | | ||
POSTGRES_DB | `spf` | SciELO Publishing Framework database name | ||
POSTGRES_USER | `postgres` | SciELO Publishing Framework database user | ||
POSTGRES_PASSWORD | `password` | SciELO Publishing Framework database user password | ||
POSTGRES_HOST | `172.17.0.4` | SciELO Publishing Framework database hostname | ||
POSTGRES_PORT | `5432` | SciELO Publishing Framework database host port | ||
DJANGO_COLLECTSTATIC | `1` |Django flag to run `manage.py collecstatic` | ||
DJANGO_CREATE_SUPERUSER | `1` | Django flag to run `manage.py createsuperuser` | ||
DJANGO_DEBUG | `1` | Django flag to see DEBUG messages | ||
DJANGO_MANAGE_LOAD_GROUP | `1` | Django flag to run `manage.py loaddata group` | ||
DJANGO_MANAGE_LOAD_USER | `1` | Django flag to run `manage.py loaddata user` | ||
DJANGO_MANAGE_MIGRATE | `1` | Django flag to run `managep.py migrate` | ||
DJANGO_MANAGE_LOAD | `1` | Django flag to run `manage.py loaddata group` | ||
DJANGO_ADMIN_TRANSLATE | `1` | Django flag to run `django-admin compile_messages` | ||
CELERY_BROKER_URL | `pyamqp://172.17.0.5:5672` | RabbitMQ address | ||
CELERY_RESULT_BACKEND | `django-db` | Celery flag to use Django Database for persisting messages | ||
DJANGO_SECRET_KEY | | Django secret key | ||
DJANGO_SUPERUSER_EMAIL | | superuser email | ||
DJANGO_SUPERUSER_PASSWORD | | superuser password | ||
DJANGO_SUPERUSER_USERNAME | | superuser username | ||
MINIO_ACCESS_KEY | | MinIO username | ||
MINIO_HOST | `host:port` | MinIO host address | ||
MINIO_SCIELO_COLLECTION | | MinIO collection name | ||
MINIO_SECRET_KEY | | MinIO password | ||
MINIO_SECURE | | MinIO SSL flag (`true` or `false`) | ||
MINIO_SPF_DIR | | MinIO storage main directory | ||
MINIO_TIMEOUT | | MinIO connection timeout | ||
PID_DATABASE_DSN | `postgresql+psycopg2://postgres:password@host:port/database` | PID manager (PostgreSQL) string connection | ||
POSTGRES_DB | `database name` | SciELO Publishing Framework database name | ||
POSTGRES_HOST | `localhost` | SciELO Publishing Framework database hostname | ||
POSTGRES_PASSWORD | | SciELO Publishing Framework database user password | ||
POSTGRES_PORT | | SciELO Publishing Framework database host port | ||
POSTGRES_USER | | SciELO Publishing Framework database user |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,26 @@ | ||
MINIO_HOST=minio.scielo.br | ||
MINIO_ACCESS_KEY= | ||
MINIO_SECRET_KEY= | ||
MINIO_TIMEOUT=10000 | ||
MINIO_SECURE=true | ||
MINIO_SCIELO_COLLECTION=spf_brazil | ||
MINIO_SPF_DIR=packages | ||
CELERY_BROKER_URL= | ||
DATABASE_CONNECT_URL= | ||
DJANGO_DEBUG=0 | ||
DJANGO_SECRET_KEY= | ||
DJANGO_ADMIN_TRANSLATE=1 | ||
DJANGO_ALLOWED_HOSTS=localhost;0.0.0.0;[::1] | ||
DJANGO_MANAGE_MIGRATE=0 | ||
DJANGO_MANAGE_LOAD=0 | ||
DJANGO_ADMIN_TRANSLATE=0 | ||
POSTGRES_DB=spf | ||
POSTGRES_USER= | ||
DJANGO_COLLECTSTATIC=1 | ||
DJANGO_CREATE_SUPERUSER=1 | ||
DJANGO_DEBUG=1 | ||
DJANGO_MANAGE_LOAD_GROUP=1 | ||
DJANGO_MANAGE_LOAD_USER=1 | ||
DJANGO_MANAGE_MIGRATE=1 | ||
DJANGO_SECRET_KEY= | ||
DJANGO_SUPERUSER_EMAIL= | ||
DJANGO_SUPERUSER_PASSWORD= | ||
DJANGO_SUPERUSER_USERNAME= | ||
MINIO_ACCESS_KEY= | ||
MINIO_HOST= | ||
MINIO_SCIELO_COLLECTION= | ||
MINIO_SECRET_KEY= | ||
MINIO_SECURE= | ||
MINIO_SPF_DIR= | ||
MINIO_TIMEOUT= | ||
POSTGRES_DB= | ||
POSTGRES_HOST= | ||
POSTGRES_PASSWORD= | ||
POSTGRES_HOST=scielo-postgres-1 | ||
POSTGRES_PORT=5432 | ||
CELERY_BROKER_URL=pyamqp://spf_broker:5672 | ||
POSTGRES_PORT= | ||
POSTGRES_USER= |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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