feat: init

This commit is contained in:
hh committed 2026-04-16 01:16:54 +02:00
commit 14bf1047ee
51 files changed
+2227

No files matched your search

+40
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: