mirror of
https://github.com/HexCardGames/HexDeck.git
synced 2025-09-05 11:18:38 +02:00
ops: add docker support
This commit is contained in:
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
@ -0,0 +1,16 @@
|
||||
services:
|
||||
mongodb:
|
||||
user: "1000"
|
||||
volumes:
|
||||
- ./data/mongodb/:/data/db/
|
||||
image: mongodb/mongodb-community-server:latest
|
||||
command: mongod --bind_ip_all
|
||||
hexdeck:
|
||||
user: "1000"
|
||||
ports:
|
||||
- 3000:3000
|
||||
environment:
|
||||
- MONGO_URI=mongodb://mongodb:27017/
|
||||
depends_on:
|
||||
- mongodb
|
||||
build: .
|
Reference in New Issue
Block a user