mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
Testing docker-compose. Here are things I noticed. - `styles.css` seemed to be missing in the local docker-compose environment, even though it's present in the docker image. With docker-compose a volume is mounted. The volume points to your git repository where styles.css is now git-ignored. Therefore, I am adding steps in the README to build `styles.css`. @kennethreitz @rbbeeston , is this incorrect? Should the instructions be different? What method do you use? - local development: there had been a note to install Python 3.11. Even though Django containers are running with Python 3.11, it should be acceptable for the local OS to have the system default of Python 3.10. They are not directly interacting. Don't modify the system python. - To view the Users Guide and Contributors Guide, adding variables to the env.template (and your .env file) ``` STATIC_CONTENT_AWS_ACCESS_KEY_ID= STATIC_CONTENT_AWS_SECRET_ACCESS_KEY= STATIC_CONTENT_BUCKET_NAME= STATIC_CONTENT_REGION= STATIC_CONTENT_AWS_S3_ENDPOINT_URL= ``` If anyone uses docker-compose and notices the instructions are incomplete, please comment and/or contribute fixes to the docs.
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# Database settings
|
|
PGDATABASE=postgres
|
|
PGHOST=db
|
|
PGPASSWORD=""
|
|
PGPORT=5432
|
|
PGUSER=postgres
|
|
|
|
# ALLOWED_HOSTS can be a comma-delimited string/list of host names
|
|
ALLOWED_HOSTS=localhost
|
|
|
|
# Set DJANGO_DEBUG = 0 to turn off Debug
|
|
DJANGO_DEBUG=1
|
|
|
|
# Don't use this secret key in production obviously
|
|
SECRET_KEY="top-secret"
|
|
|
|
GITHUB_TOKEN="top-secret"
|
|
|
|
# AWS_ACCESS_KEY_ID="changeme"
|
|
# AWS_SECRET_ACCESS_KEY="changeme"
|
|
# BUCKET_NAME="boost.revsys.dev"
|
|
|
|
STATIC_CONTENT_AWS_ACCESS_KEY_ID="changeme"
|
|
STATIC_CONTENT_AWS_SECRET_ACCESS_KEY="changeme"
|
|
STATIC_CONTENT_BUCKET_NAME="stage.boost.org.v2"
|
|
STATIC_CONTENT_REGION="us-east-2"
|
|
STATIC_CONTENT_AWS_S3_ENDPOINT_URL="https://s3.us-east-2.amazonaws.com"
|
|
|
|
# Mailman database settings
|
|
DATABASE_URL="postgresql://postgres@db:5432/postgres"
|
|
DATABASE_TYPE="postgres"
|
|
DATABASE_CLASS="mailman.database.postgresql.PostgreSQLDatabase"
|
|
HYPERKITTY_API_KEY="changeme!"
|
|
MAILMAN_ADMIN_USER=""
|
|
MAILMAN_ADMIN_EMAIL=""
|
|
SERVE_FROM_DOMAIN=localhost
|
|
|
|
# Celery settings
|
|
CELERY_BROKER=redis://redis:6379/0
|
|
CELERY_BACKEND=redis://redis:6379/0
|
|
|
|
CALENDAR_API_KEY=changeme
|