0% found this document useful (0 votes)
7 views1 page

Compose Yml

The document outlines a Docker Compose configuration for multiple services including a MySQL database, Memcached, RabbitMQ, an application server, and a web server. Each service is defined with its respective image, ports, volumes, and environment variables. Additionally, it specifies persistent volumes for the database and application data.

Uploaded by

adishjain1107
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Compose Yml

The document outlines a Docker Compose configuration for multiple services including a MySQL database, Memcached, RabbitMQ, an application server, and a web server. Each service is defined with its respective image, ports, volumes, and environment variables. Additionally, it specifies persistent volumes for the database and application data.

Uploaded by

adishjain1107
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

{\rtf1\ansi\ansicpg1252\cocoartf2758

\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fmodern\fcharset0 Courier;}
{\colortbl;\red255\green255\blue255;\red0\green0\blue0;}
{\*\expandedcolortbl;;\cssrgb\c0\c0\c0;}
\paperw11900\paperh16840\margl1440\margr1440\vieww11520\viewh8400\viewkind0
\deftab720
\pard\pardeftab720\partightenfactor0

\f0\fs26 \cf0 \expnd0\expndtw0\kerning0


services:\
vprodb:\
build: \
context: ./Docker-files/db\
image: vprocontainers/vprofiledb\
container_name: vprodb\
ports:\
- "3306:3306"\
volumes:\
- vprodbdata:/var/lib/mysql\
environment:\
- MYSQL_ROOT_PASSWORD=vprodbpass\
\
vprocache01:\
image: memcached\
ports:\
- "11211:11211"\
\
vpromq01:\
image: rabbitmq\
ports:\
- "5672:5672"\
environment:\
- RABBITMQ_DEFAULT_USER=guest\
- RABBITMQ_DEFAULT_PASS=guest\
\
vproapp:\
build: \
context: ./Docker-files/app\
image: vprocontainers/vprofileapp\
container_name: vproapp\
ports:\
- "8080:8080"\
volumes:\
- vproappdata:/usr/local/tomcat/webapps\
\
vproweb:\
build: \
context: ./Docker-files/web\
image: vprocontainers/vprofileweb\
container_name: vproweb\
ports:\
- "80:80"\
\
volumes:\
vprodbdata: \{\}\
vproappdata: \{\}\
}

You might also like