feat: init

This commit is contained in:
h
2026-04-16 01:16:54 +02:00
commit 14bf1047ee
51 changed files with 2227 additions and 0 deletions

40
docker-compose.yml Normal file
View File

@@ -0,0 +1,40 @@
services:
mongodb:
image: mongo:latest
environment:
- MONGO_INITDB_ROOT_USERNAME=${DB__USER}
- MONGO_INITDB_ROOT_PASSWORD=${DB__PASSWORD}
command: mongod --port ${DB__PORT}
restart: on-failure
volumes:
- database:/data/db
profiles:
- mongodb
- external
networks:
database:
aliases:
- ${DB__HOST}
bot:
build:
context: .
dockerfile: Dockerfile
image: post-proposal-bot/base
volumes:
- ./src:/app/src
env_file:
- ".env"
command:
- "bot"
profiles:
- bot
- services
networks:
database:
volumes:
database:
networks:
database: