Files
popa_minecraft_launcher_api/docker-compose.yml
DIKER0K 25b0ec0809
All checks were successful
Build and Deploy / deploy (push) Successful in 12s
fix:volumes
2025-07-21 03:45:35 +05:00

28 lines
543 B
YAML

services:
app:
container_name: minecraft-api
build:
context: .
dockerfile: Dockerfile
ports:
- "3001:3000"
user: "${UID:-1000}:${GID:-1000}"
volumes:
- ./app/static:/app/static:rw
env_file:
- .env
depends_on:
- mongodb
mongodb:
container_name: mongodb
image: mongo:latest
ports:
- "32768:27017"
volumes:
- ./mongodb:/data/db
environment:
- MONGO_INITDB_ROOT_USERNAME=popa
- MONGO_INITDB_ROOT_PASSWORD=2006sit_
restart: always