-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
41 lines (39 loc) · 1012 Bytes
/
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
version: '3.8'
services:
roman:
build:
context: .
dockerfile: Dockerfile
args:
- release_version=docker-compose
image: eu.gcr.io/wire-bot/roman
ports:
# port where Roman has its API
- 8080:8080
# Dropwizard admin API
- 8081:8081
# Prometheus Metrics
- 8082:8082
environment:
- DB_URL=jdbc:postgresql://db:5432/roman
- DB_USER=roman
- DB_PASSWORD=roman
# randomly generated for local testing
- APP_KEY=b53181dd-6400-4960-8988-f775545588ff-0949f503-421e-4588-a2c5-f64fd9c180fd
# random base 64 string used as certificate, replace with real one
- ROMAN_PUB_KEY_BASE64=bm90aGluZyBhbmQgdGhhdAo=
depends_on:
- db
db:
image: postgres:13
# just for local development
environment:
- POSTGRES_USER=roman
- POSTGRES_PASSWORD=roman
- POSTGRES_DB=roman
ports:
- 5432:5432
volumes:
- roman-db:/var/lib/postgresql/data/
volumes:
roman-db: