-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
49 lines (45 loc) · 907 Bytes
/
docker-compose.yaml
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
version: '3.2'
services:
app:
image: auth-ms
ports:
- 8080:8080
environment:
DB_PASSWORD: your_db_password
DB_URL: jdbc:postgresql://db:5432/seed_db
DB_USER: your_db_user
JWT_SECRET: your_jwt_secret
JWT_VALIDITY: your_jwt_validity
REDIS_HOST: redis
REDIS_PORT: 6379
SENTRY_DSN: your_sentry_dsn
depends_on:
- db
- redis
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: your_db_password
POSTGRES_DB: your_db_name
POSTGRES_USER: your_db_user
ports:
- 5432:5432
volumes:
- postgres_data:/var/lib/postgresql/data
adminer:
image: adminer
restart: always
ports:
- 9090:8080
redis:
image: redis
restart: always
ports:
- 6379:6379
volumes:
postgres_data:
driver: local
networks:
default:
name: appservice