-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
40 lines (36 loc) · 1.05 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: "3"
services:
mongo:
image: 'tutum/mongodb:3.2'
container_name: mongo
environment:
- MONGODB_PASS=password
ports:
# this is port mapping from host to container.
# if we dont map the host, it wont be available outside completely isolated for security.
# TODO: remove outside port mapping
- '27017:27017'
lucidsentry:
image: 'lucidprogrammer/sentry:latest'
container_name: lucidsentry
# lets dont keep a state on the container.
depends_on:
- mongo
# whenever there is a new image, autoredeploy
command: node /meteor-build/bundle/main.js
entrypoint: node /meteor-build/bundle/main.js
environment:
- 'PORT=3000'
- 'MONGO_URL=mongodb://admin:password@mongo:27017'
- 'ROOT_URL=http://lucidprogrammer.info'
nginx:
image: lucidprogrammer/nginx:latest
container_name: nginx
restart: always
depends_on:
- lucidsentry
ports:
- 80:80
volumes:
# proxies
- "./site.nginx.json:/etc/nginx/conf.d/proxies/proxies.json:ro"