mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-31 17:22:45 +00:00
Add dockerization and example compose file
This commit is contained in:
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: '2'
|
||||
services:
|
||||
mongodb:
|
||||
image: mongo:latest
|
||||
volumes:
|
||||
- /your/data/location:/data/db
|
||||
homebrewery:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: homebrewery
|
||||
environment:
|
||||
MONGODB_URI: mongodb://mongodb/homebrewery
|
||||
ports:
|
||||
- "8000:8000"
|
||||
Reference in New Issue
Block a user