Add config.js, dockerfile

This commit is contained in:
wancat committed 2023-07-21 11:27:01 +08:00
1 parent 4ffdb5d627
commit 2dffd2f74d
5 files changed
+48 -4

No files matched your search

+11
View File
@@ -1,5 +1,16 @@
version: '3'
services:
app:
image: lancatlin/linux-odyssey-server
build: .
ports:
- '3000:3000'
links:
- db
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- MONGO_URL=mongodb://db:27017/odyssey-test
db:
image: mongo
restart: always