mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
Add config.js, dockerfile
This commit is contained in:
1 parent
4ffdb5d627
commit
2dffd2f74d
5 files changed
+48
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user