-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
78 lines (72 loc) · 1.95 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: '3'
services:
# api:
# build:
# context: ./
# dockerfile: ./Dockerfile
# container_name: api
# tty: true
# image: app/api
# ports:
# - '8081:8080'
# environment:
# - PROFILE=dev
# - ADDITIONAL_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -Xmx1G -Xms128m -XX:MaxMetaspaceSize=128m
# links:
# - db
db:
container_name: db_subsapi
image: postgres:12-alpine
ports:
- '5432:5432'
environment:
- POSTGRES_PASSWORD=${POSTGRES_MICROSERVICE_PASSWORD}
- POSTGRES_USER=${POSTGRES_MICROSERVICE_USER}
- POSTGRES_DB=${POSTGRES_MICROSERVICE_DB}
pgadmin:
container_name: db_pgadmin
image: dpage/pgadmin4
tty: true
environment:
- PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL}
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD}
ports:
- '9119:80'
depends_on:
- db
rabbit:
container_name: mb_rabbitmq
image: "rabbitmq:3-management"
environment:
- RABBITMQ_ERLANG_COOKIE=${RABBITMQ_ERLANG_COOKIE}
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER}
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
- RABBIT_DEFAULT_VHOST=${RABBITMQ_DEFAULT_VHOST}
ports:
- "15672:15672"
- "5672:5672"
postgres:
container_name: db_keycloak
image: postgres
volumes:
- ./.docker/dbdata:/var/lib/postgresql/data
environment:
POSTGRES_DB: ${POSTGRESQL_DB}
POSTGRES_USER: ${POSTGRESQL_USER}
POSTGRES_PASSWORD: ${POSTGRESQL_PASS}
keycloak:
container_name: keycloak
image: quay.io/keycloak/keycloak:legacy
environment:
DB_VENDOR: ${DB_VENDOR}
DB_ADDR: ${DB_ADDR}
DB_DATABASE: ${DB_DATABASE}
DB_USER: ${DB_USER}
DB_SCHEMA: ${DB_SCHEMA}
DB_PASSWORD: ${DB_PASSWORD}
KEYCLOAK_USER: ${KEYCLOAK_USER}
KEYCLOAK_PASSWORD: ${KEYCLOAK_PASSWORD}
ports:
- '8086:8080'
depends_on:
- postgres