Moved to _dev

This commit is contained in:
2025-09-20 16:11:47 +02:00
parent fb1a8753b7
commit b2ba11fcd3
1670 changed files with 224899 additions and 0 deletions

61
olly/compose.env Normal file
View File

@@ -0,0 +1,61 @@
# Django's debug feature. This should be False unless you know what you're doing
debug=False
# This should be 50 randomly generated characters. Keep this secret!
secret_key=Change-me!
# It is strongly recommended to set this to the domain name of your website
allowed_hosts=*
# Change this to your domain. In most cases it should be the same as allowed_hosts
site_url=127.0.0.1
# Database credentials. Make sure the database exists. We recommend using a dedicated user
# If you are following our instructions the only thing that needs to be changed is db_password
# Use postgres for PostgreSQL. Use sqlite for SQLite.
db_type=postgres
db_host=project-olly-db
db_port=5432
db_name=olly
db_username=olly
db_password=secret_password
# Object storage credentials (AWS S3 compatable)
storage_key_id=asdf123
storage_secret_key=asdf123
storage_bucket_name=project-olly
storage_endpoint_url=https://s3.us-east-2.amazonaws.com
# Your email server (for example smtp.gmail.com)
email_host=email.us-east-2.amazonaws.com
# The login information for your email account
email_host_user=fakeaccount
email_host_password=fakepassword
# The email address that will be shown in the From field
from_email="MySite <noreply@example.com>"
# These shouldn't be changed in most situations
email_use_tls=True
email_port=587
# These can be generated at https://www.google.com/recaptcha. Use recaptcha V2
google_recaptcha_secret_key=asdf123
google_recaptcha_site_key=asdf123
# The name of your site (used the the footer of the default template)
site_name=Project-Olly
# The name of your server (used in the footer of the default template)
site_server=Dev-Env
#### Optional settings (only set these if you know what you're doing)
#enable_wagers=
#enable_store=
#paypal_email=""
#user_verification=
#esports_mode=
#static_path=
#template_path=
#cert_path=

53
olly/compose.yaml Normal file
View File

@@ -0,0 +1,53 @@
networks:
project-olly-net:
driver: bridge
volumes:
socket:
static:
templates:
services:
project-olly-app:
restart: always
build: .
depends_on:
- project-olly-db
volumes:
- socket:/sock
- ${static_path:-static}:/static
- ${template_path:-templates}:/src/project-templates
env_file: .env
networks:
- project-olly-net
container_name: project-olly-app
project-olly-db:
restart: always
image: postgres:12
environment:
- POSTGRES_PASSWORD=${db_password}
- POSTGRES_USER=${db_username}
networks:
- project-olly-net
volumes:
- ./database:/var/lib/postgresql/data
container_name: project-olly-db
project-olly-proxy:
restart: always
image: abiosoft/caddy:no-stats
depends_on:
- project-olly-app
environment:
- ACME_AGREE=true
- CADDYPATH=/etc/caddycerts
ports:
- 80:80
- 443:443
volumes:
- ./Caddyfile:/etc/Caddyfile
- socket:/sock
- ${static_path:-static}:/html/static
- ${cert_path:-./certs}:/etc/caddycerts
container_name: project-olly-proxy