mirror of
https://github.com/philipredstone/relnet.git
synced 2025-06-16 20:51:16 +02:00
29 lines
536 B
YAML
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 |