Skip to content

Instantly share code, notes, and snippets.

@jailbirt
Created October 11, 2016 18:52
Show Gist options
  • Save jailbirt/6d216b9b31435c4d39508b7377a2e13a to your computer and use it in GitHub Desktop.
Save jailbirt/6d216b9b31435c4d39508b7377a2e13a to your computer and use it in GitHub Desktop.
docker-comafi.yml
version: '2'
services:
#Maintainer: jailbirt.
#About node_modules.
#By default I override your local node_modules directory.
#This is intended for working without installing dependencies by using development images.
#WEB
theeye-web:
image: interactar/theeye-web:comafi
container_name: theeye-web
hostname: web
domainname: theeye.io
ports:
- "6080:6080"
volumes:
- ../configs/web/env/comafi.js:/src/theeye/web/config/env/comafi.js
networks:
- theeye
links:
- theeye-db
- theeye-supervisor
environment:
- NODE_ENV=comafi
- DEBUG=eye:*
- PORT=6080
- SOCKET_AUTH_URL=https://demo.theeye.io
# - "INSTANCE_FQDN=${HOSTNAME}"
#This command override default initialization for development process, which is npm run start ;)
#command: npm run devel
#Supervisor.
theeye-supervisor:
image: interactar/theeye-supervisor:comafi
container_name: theeye-supervisor
hostname: supervisor
domainname: theeye.io
ports:
- "60080:60080"
volumes:
- ../configs/supervisor/comafi.js:/src/theeye/supervisor/config/comafi.js
networks:
- theeye
links:
- theeye-db
#This command override default initialization for development process, which is npm run start ;)
environment:
- NODE_ENV=comafi
- DEBUG=eye:*
command: node --harmony_proxies core/main.js
# theeye-storage:
# image: xueshanf/s3fs
# cap_add:
# - mknod
# - sys_admin
# networks:
# - theeye
# #restart: always
theeye-db:
image: mongo:latest
ports:
- "27017:27017"
volumes:
- /srv/docker/mongodb:/data/db
networks:
- theeye
#restart: always
networks:
theeye:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment