-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (51 loc) · 1.16 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
version: '3.8'
services:
postgres15:
image: postgres:15.2
container_name: postgres15
restart: always
volumes:
- ./db/sql/create_schema.sql:/docker-entrypoint-initdb.d/create_schema.sql
- ./db/sql/data.sql:/docker-entrypoint-initdb.d/data.sql
environment:
- POSTGRES_DB=tenpo
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=1q2w3e
ports:
- "5432:5432"
networks:
- tempo-challenger
wiremock:
container_name: wiremock
image: rodolpheche/wiremock
ports:
- "9001:8080"
volumes:
- ./wiremock/mappings:/home/wiremock/mappings
- ./wiremock/__files:/home/wiremock/__files
command: --verbose
networks:
- tempo-challenger
redis:
image: redis:6.2-alpine
container_name: redis
restart: always
ports:
- "6379:6379"
command: redis-server --loglevel warning --requirepass tempo
networks:
- tempo-challenger
api-rest:
container_name: api-rest
build:
context: .
ports:
- "8080:8080"
depends_on:
- postgres15
- redis
- wiremock
networks:
- tempo-challenger
networks:
tempo-challenger: