Skip to content

Instantly share code, notes, and snippets.

@kkadir
Created July 4, 2017 13:31
Show Gist options
  • Save kkadir/0720efecff888d4a543ac10ed432344d to your computer and use it in GitHub Desktop.
Save kkadir/0720efecff888d4a543ac10ed432344d to your computer and use it in GitHub Desktop.
version: '2'
services:
dev_m1af_msdc_1:
image : "registry2.swarm.devfactory.com/m1/af-msdc:1.2.0.10-RC1"
restart: always
container_name: "dev_m1af_msdc_1"
hostname: "kitkat"
domainname: "aflab1.aflab.messageone.com"
cpu_quota: 400000
mem_limit: 16g
labels:
com.trilogy.company: "Aurea"
com.trilogy.team: "MS.DockerProduction"
com.trilogy.product: "m1af"
com.trilogy.service: "msdc"
com.trilogy.maintainer.skype: "kadir.kilicoglu"
com.trilogy.maintainer.email: "kadir.kilicoglu@aurea.com"
com.trilogy.stage: "dev"
SERVICE_NAME: "dev_m1af_msdc"
SERVICE_TAGS: "trilogy.expose-v2,trilogy.tcp,trilogy.endpoint=10.69.10.8:80:80,trilogy.endpoint=10.69.10.8:443:443"
ports:
- "80"
- "443"
network_mode: bridge
volumes:
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/measure/send-measurement:/usr/local/bin/send-measurement"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/ssl:/opt/msdc/conf/ssl"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/wfe:/opt/msdc/conf/wfe"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/conf/msdc.conf:/etc/httpd/conf.d/msdc.conf"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/conf/workers.properties:/opt/msdc/conf/httpd/workers.properties"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/bin/env.sh:/opt/msdc/bin/env.sh"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/bin/import_certificate.sh:/opt/msdc/bin/import_certificate.sh"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/bin/msdc.sh:/opt/msdc/bin/msdc.sh"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/bin/queue-consumer.sh:/opt/msdc/bin/queue-consumer.sh"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/keys/keyfile.dat:/opt/conf/keyfile.dat"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/keys/keyfile.p12:/opt/conf/keyfile.p12"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/tomcat/catalina.properties:/opt/msdc/conf/tomcat/catalina.properties"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/tomcat/server.xml:/opt/msdc/conf/tomcat/server.xml"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_1/tomcat/web.xml:/opt/msdc/conf/tomcat/web.xml"
- "/opt/io1/m1-qa/docker_logs/af-msdc/dev_m1af_msdc_1/tomcat:/opt/msdc/tomcat/logs"
- "/opt/io1/m1-qa/docker_logs/af-msdc/dev_m1af_msdc_1/httpd:/var/log/httpd"
- "/opt/io1/m1-qa/docker_logs/af-msdc/dev_m1af_msdc_1/oom:/var/log/oom"
- "/opt/io1/m1-qa/docker_logs/af-msdc/dev_m1af_msdc_1/af:/var/log/af"
dev_m1af_msdc_2:
image : "registry2.swarm.devfactory.com/m1/af-msdc:1.2.0.10-RC1"
restart: always
container_name: "dev_m1af_msdc_2"
hostname: "kitkat"
domainname: "aflab1.aflab.messageone.com"
cpu_quota: 400000
mem_limit: 16g
labels:
com.trilogy.company: "Aurea"
com.trilogy.team: "MS.DockerProduction"
com.trilogy.product: "m1af"
com.trilogy.service: "msdc"
com.trilogy.maintainer.skype: "kadir.kilicoglu"
com.trilogy.maintainer.email: "kadir.kilicoglu@aurea.com"
com.trilogy.stage: "dev"
SERVICE_NAME: "dev_m1af_msdc"
SERVICE_TAGS: "trilogy.expose-v2,trilogy.tcp,trilogy.endpoint=10.69.10.8:80:80,trilogy.endpoint=10.69.10.8:443:443"
ports:
- "80"
- "443"
network_mode: bridge
volumes:
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/measure/send-measurement:/usr/local/bin/send-measurement"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/ssl:/opt/msdc/conf/ssl"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/wfe:/opt/msdc/conf/wfe"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/conf/msdc.conf:/etc/httpd/conf.d/msdc.conf"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/conf/workers.properties:/opt/msdc/conf/httpd/workers.properties"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/bin/env.sh:/opt/msdc/bin/env.sh"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/bin/import_certificate.sh:/opt/msdc/bin/import_certificate.sh"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/bin/msdc.sh:/opt/msdc/bin/msdc.sh"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/bin/queue-consumer.sh:/opt/msdc/bin/queue-consumer.sh"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/keys/keyfile.dat:/opt/conf/keyfile.dat"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/keys/keyfile.p12:/opt/conf/keyfile.p12"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/tomcat/catalina.properties:/opt/msdc/conf/tomcat/catalina.properties"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/tomcat/server.xml:/opt/msdc/conf/tomcat/server.xml"
- "/opt/io1/m1-qa/docker_volumes/af-msdc_cfg/DNIESTER-AF/dev_m1af_msdc_2/tomcat/web.xml:/opt/msdc/conf/tomcat/web.xml"
- "/opt/io1/m1-qa/docker_logs/af-msdc/dev_m1af_msdc_2/tomcat:/opt/msdc/tomcat/logs"
- "/opt/io1/m1-qa/docker_logs/af-msdc/dev_m1af_msdc_2/httpd:/var/log/httpd"
- "/opt/io1/m1-qa/docker_logs/af-msdc/dev_m1af_msdc_2/oom:/var/log/oom"
- "/opt/io1/m1-qa/docker_logs/af-msdc/dev_m1af_msdc_2/af:/var/log/af"
networks:
m1af-qa-network:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment