initial commit
This commit is contained in:
56
docker-compose.yml
Normal file
56
docker-compose.yml
Normal file
@ -0,0 +1,56 @@
|
||||
services:
|
||||
utms-ng-be:
|
||||
build:
|
||||
context: .
|
||||
image: utms-ng-be:local
|
||||
container_name: utms-ng-be
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
- activemq
|
||||
profiles:
|
||||
- local
|
||||
environment:
|
||||
SPRING_PROFILES_ACTIVE: local
|
||||
DB_URL: jdbc:postgresql://postgres:5432/utmsng
|
||||
DB_USERNAME: utms
|
||||
DB_PASSWORD: utms
|
||||
REDIS_HOST: redis
|
||||
REDIS_PORT: 6379
|
||||
ACTIVEMQ_BROKER_URL: tcp://activemq:61616
|
||||
ACTIVEMQ_USER: admin
|
||||
ACTIVEMQ_PASSWORD: admin
|
||||
JWT_SECRET: local-dev-fallback-jwt-secret-key-for-local-dev-environment-256-bits-min
|
||||
ports:
|
||||
- "9191:9191"
|
||||
|
||||
postgres:
|
||||
image: postgres:16
|
||||
container_name: utms-postgres
|
||||
environment:
|
||||
POSTGRES_DB: utmsng
|
||||
POSTGRES_USER: utms
|
||||
POSTGRES_PASSWORD: utms
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- pg_data:/var/lib/postgresql/data
|
||||
|
||||
redis:
|
||||
image: redis:7
|
||||
container_name: utms-redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
|
||||
activemq:
|
||||
image: symptoma/activemq:5.18.3
|
||||
container_name: utms-activemq
|
||||
environment:
|
||||
ACTIVEMQ_ADMIN_LOGIN: admin
|
||||
ACTIVEMQ_ADMIN_PASSWORD: admin
|
||||
ports:
|
||||
- "61616:61616"
|
||||
- "8161:8161"
|
||||
|
||||
volumes:
|
||||
pg_data:
|
||||
Reference in New Issue
Block a user