MarseyWorld/docker-compose.yml

66 lines
1.8 KiB
YAML
Raw Normal View History

2021-07-21 01:12:26 +00:00
version: '2.3'
services:
2021-08-04 16:21:10 +00:00
files:
2021-07-21 01:12:26 +00:00
build:
context: .
volumes:
2021-08-04 16:21:10 +00:00
- "./:/service"
2021-07-21 01:12:26 +00:00
environment:
2021-08-04 16:21:10 +00:00
- PYTHONPATH="/service"
2021-07-26 17:18:37 +00:00
- REDIS_URL=redis://redis
- DATABASE_URL=postgresql://postgres@postgres:5432/postgres
- DATABASE_CONNECTION_POOL_URL=postgresql://postgres@postgres:5432/postgres
2021-07-21 01:12:26 +00:00
- MASTER_KEY=${MASTER_KEY:-KTVciAUQFpFh2WdJ/oiHJlxl6FvzRZp8kYzAAv3l2OA=}
2021-08-05 14:41:32 +00:00
- DOMAIN=localhost
2021-07-21 01:12:26 +00:00
- SITE_NAME=Drama
- CLOUDFLARE_ZONE=vcxvdfgfc6r554etrgd
- CLOUDFLARE_KEY=vcxvdfgfc6r554etrgd
- TENOR_KEY=vcxvdfgfc6r554etrgd
- MAILGUN_KEY=vcxvdfgfc6r554etrgd
2021-08-02 14:27:20 +00:00
- MAILGUN_DOMAIN=rdrama.net
2021-07-26 17:18:37 +00:00
- FORCE_HTTPS=0
2021-07-21 01:12:26 +00:00
- DISCORD_SERVER_ID=vcxvdfgfc6r554etrgd
- DISCORD_CLIENT_ID=vcxvdfgfc6r554etrgd
- DISCORD_CLIENT_SECRET=vcxvdfgfc6r554etrgd
- DISCORD_BOT_TOKEN=vcxvdfgfc6r554etrgd
2021-08-05 14:41:32 +00:00
- IMGUR_KEY=vcxvdfgfc6r554etrgd
2021-07-21 01:12:26 +00:00
- FACEBOOK_TOKEN=vcxvdfgfc6r554etrgd
2021-08-04 16:21:10 +00:00
#- HCAPTCHA_SITEKEY=vcxvdfgfc6r554etrgd
2021-07-21 01:12:26 +00:00
- HCAPTCHA_SECRET=vcxvdfgfc6r554etrgd
2021-08-05 14:41:32 +00:00
- YOUTUBE_KEY=vcxvdfgfc6r554etrgd
2021-07-21 01:12:26 +00:00
- PUSHER_KEY=vcxvdfgfc6r554etrgd
2021-08-04 16:00:57 +00:00
- SPAM_SIMILARITY_THRESHOLD=0.5
- SPAM_SIMILAR_COUNT_THRESHOLD=5
- SPAM_URL_SIMILARITY_THRESHOLD=0.1
- COMMENT_SPAM_SIMILAR_THRESHOLD=0.5
- COMMENT_SPAM_COUNT_THRESHOLD=5
- READ_ONLY=0
- BOT_DISABLE=0
2021-08-05 14:41:32 +00:00
- COINS_NAME=Dramacoins
2021-07-21 01:12:26 +00:00
links:
- "redis"
- "postgres"
ports:
- "80:80"
depends_on:
- redis
- postgres
redis:
image: redis
volumes:
2021-08-03 06:17:48 +00:00
- ./redis.conf:/drama/redis.conf
2021-07-21 01:12:26 +00:00
ports:
- "6379:6379"
postgres:
image: postgres:12.3
volumes:
- "./schema.sql:/docker-entrypoint-initdb.d/00-schema.sql"
2021-07-26 17:18:37 +00:00
- "./seed-db.sql:/docker-entrypoint-initdb.d/01-schema.sql"
2021-07-21 01:12:26 +00:00
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
ports:
- "5432:5432"