-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfig.yml
More file actions
20 lines (20 loc) · 715 Bytes
/
Copy pathfig.yml
File metadata and controls
20 lines (20 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
db:
image: mongo:latest #postgres, mysql, mongo, redis. You can also specifiy a specific version instead of using latest.
ports:
- "27017:27017" #for postgres "5432:5432", for mysql "3306:3306", for mongo "27017:27017", etc
server:
#Docker-sails supports several different tags:
#0.10.32/33/34 (node 0.10.32), stable (latest node 0.10.x), latest (latest node 0.11.x)
#0.10.32/33/34-pm2 (node 0.10.32), stable-pm2 (latest node 0.10.x), latest-pm2 (latest node 0.11.x)
image: artificial/docker-sails:stable-pm2
command: sails lift
volumes:
- server/:/server
ports:
- "1337:1337"
links:
- db
#For a future version
#environment:
# - VIRTUAL_HOST=sails
# - VIRTUAL_PORT=1337