Commit d2d6a347 authored by 김민영's avatar 김민영

git mqtt postsql

parent ff3d8427
/data
\ No newline at end of file
POSTGRES_DB=BLDEMS
POSTGRES_USER=devOps
POSTGRES_PASSWORD=ems@123
ACTIVEMQ_USER=emsStream
ACTIVEMQ_PASSWORD=ems@123
\ No newline at end of file
version: "3.9"
services:
timescaledb:
image: timescale/timescaledb:latest-pg14
container_name: timescaledb
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- ../data/timescaledb:/var/lib/postgresql/data
activemq:
image: apache/activemq-classic:5.18.3
container_name: activemq
restart: always
ports:
- "61616:61616"
- "8161:8161"
environment:
ACTIVEMQ_ADMIN_LOGIN: ${ACTIVEMQ_USER}
ACTIVEMQ_ADMIN_PASSWORD: ${ACTIVEMQ_PASSWORD}
volumes:
- ../data/activemq:/opt/activemq/data
volumes:
timescaledb_data:
activemq_data:
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment