version: '2.3' services: files: build: context: . volumes: - "./:/service" environment: - PYTHONPATH="/service" - REDIS_URL=redis://redis - DATABASE_URL=postgresql://postgres@postgres:5432/postgres - DATABASE_CONNECTION_POOL_URL=postgresql://postgres@postgres:5432/postgres - MASTER_KEY=${MASTER_KEY:-KTVciAUQFpFh2WdJ/oiHJlxl6FvzRZp8kYzAAv3l2OA=} - DOMAIN=localhost - SITE_NAME=Drama - CLOUDFLARE_ZONE=3435tdfsdudebussylmaoxxt43 - CLOUDFLARE_KEY=3435tdfsdudebussylmaoxxt43 - GIPHY_KEY=3435tdfsdudebussylmaoxxt43 - MAILGUN_KEY=3435tdfsdudebussylmaoxxt43 - MAILGUN_DOMAIN=rdrama.net - FORCE_HTTPS=0 - DISCORD_SERVER_ID=3435tdfsdudebussylmaoxxt43 - DISCORD_CLIENT_ID=3435tdfsdudebussylmaoxxt43 - DISCORD_CLIENT_SECRET=3435tdfsdudebussylmaoxxt43 - DISCORD_BOT_TOKEN=3435tdfsdudebussylmaoxxt43 - IMGUR_KEY=3435tdfsdudebussylmaoxxt43 - IBB_KEY=3435tdfsdudebussylmaoxxt43 #- HCAPTCHA_SITEKEY=3435tdfsdudebussylmaoxxt43 - HCAPTCHA_SECRET=3435tdfsdudebussylmaoxxt43 - YOUTUBE_KEY=3435tdfsdudebussylmaoxxt43 - PUSHER_KEY=3435tdfsdudebussylmaoxxt43 - 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 - COINS_NAME=Dramacoins - DEFAULT_TIME_FILTER=day - DEFAULT_THEME=dark - 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 - SLOGAN=Dude bussy lmao - GUMROAD_TOKEN=3435tdfsdudebussylmaoxxt43 - GUMROAD_LINK=https://marsey1.gumroad.com/l/tfcvri links: - "redis" - "postgres" ports: - "80:80" depends_on: - redis - postgres redis: image: redis volumes: - ./redis.conf:/drama/redis.conf ports: - "6379:6379" postgres: image: postgres:12.3 volumes: - "./schema.sql:/docker-entrypoint-initdb.d/00-schema.sql" - "./seed-db.sql:/docker-entrypoint-initdb.d/01-schema.sql" environment: - POSTGRES_HOST_AUTH_METHOD=trust ports: - "5432:5432"