relnet/docker-compose.yml
2025-04-15 16:33:52 +02:00

29 lines
536 B
YAML

networks:
internal:
internal: true
volumes:
db:
services:
relnet:
image: ghcr.io/philipredstone/relnet:latest
build: .
ports:
- "80:80"
networks:
- internal
environment:
- PORT=80
- MONGODB_URI=mongodb://relnet-db:27017/friendship-network
- JWT_SECRET=your_jwt_secret_key_change_this
- APP_URL=http://localhost:80
- ENABLE_REGISTRATION=true
relnet-db:
image: mongo:latest
networks:
- internal
restart: always
volumes:
- db:/data/db