MarseyWorld/docker-compose.yml

75 lines
2.4 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-09-05 10:23:03 +00:00
- REDIS_URL=redis://redis
2021-07-26 17:18:37 +00:00
- 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
2021-08-24 17:43:20 +00:00
- CLOUDFLARE_ZONE=3435tdfsdudebussylmaoxxt43
- CLOUDFLARE_KEY=3435tdfsdudebussylmaoxxt43
- GIPHY_KEY=3435tdfsdudebussylmaoxxt43
- MAILGUN_KEY=3435tdfsdudebussylmaoxxt43
2021-08-02 14:27:20 +00:00
- MAILGUN_DOMAIN=rdrama.net
2021-07-26 17:18:37 +00:00
- FORCE_HTTPS=0
2021-08-24 17:43:20 +00:00
- DISCORD_SERVER_ID=3435tdfsdudebussylmaoxxt43
- DISCORD_CLIENT_ID=3435tdfsdudebussylmaoxxt43
- DISCORD_CLIENT_SECRET=3435tdfsdudebussylmaoxxt43
- DISCORD_BOT_TOKEN=3435tdfsdudebussylmaoxxt43
- IMGUR_KEY=3435tdfsdudebussylmaoxxt43
2021-09-02 14:08:12 +00:00
- IBB_KEY=3435tdfsdudebussylmaoxxt43
2021-08-24 17:43:20 +00:00
#- HCAPTCHA_SITEKEY=3435tdfsdudebussylmaoxxt43
- HCAPTCHA_SECRET=3435tdfsdudebussylmaoxxt43
- YOUTUBE_KEY=3435tdfsdudebussylmaoxxt43
- PUSHER_KEY=3435tdfsdudebussylmaoxxt43
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-09-05 09:37:05 +00:00
- DEFAULT_TIME_FILTER=all
2021-08-19 05:14:52 +00:00
- DEFAULT_THEME=dark
2021-08-27 21:49:15 +00:00
- DEFAULT_COLOR=ff66ac #YOU HAVE TO PICK ONE OF THOSE COLORS OR SHIT WILL BREAK: ff66ac, 805ad5, 62ca56, 38a169, 80ffff, 2a96f3, eb4963, ff0000, f39731, 30409f, 3e98a7, e4432d, 7b9ae4, ec72de, 7f8fa6, f8db58
2021-08-19 19:22:10 +00:00
- SLOGAN=Dude bussy lmao
2021-08-25 18:48:52 +00:00
- GUMROAD_TOKEN=3435tdfsdudebussylmaoxxt43
2021-08-26 11:03:07 +00:00
- GUMROAD_LINK=https://marsey1.gumroad.com/l/tfcvri
2021-09-03 22:35:31 +00:00
- CARD_VIEW=1
2021-09-06 17:07:49 +00:00
- DISABLE_DOWNVOTES=0
2021-07-21 01:12:26 +00:00
links:
- "redis"
- "postgres"
ports:
- "80:80"
depends_on:
- redis
- postgres
redis:
image: redis
2021-09-05 22:12:10 +00:00
command: redis-server /drama/redis.conf
2021-09-05 21:21:42 +00:00
volumes:
2021-09-05 22:12:10 +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"