-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
58 lines (53 loc) · 1.46 KB
/
docker-compose.dev.yml
File metadata and controls
58 lines (53 loc) · 1.46 KB
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
version: '3.7'
services:
bot:
build:
context: .
dockerfile: ./apps/bot/Dockerfile
ports:
- '2399:2399'
restart: unless-stopped
env_file:
- ./.env.dev
postgres:
build:
context: ./docker/postgres
environment:
POSTGRES_USER: 'admin'
POSTGRES_PASSWORD: 'doctordoctor'
POSTGRES_DB: 'thoth'
METABASE_APP_PASSWORD: 'metabase_app_dev'
METABASE_READER_PASSWORD: 'metabase_reader_dev'
volumes:
- postgres-storage:/var/lib/postgresql/data
ports:
- '5432:5432'
restart: unless-stopped
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U admin -d thoth']
interval: 10s
timeout: 5s
retries: 5
redis:
image: redis:alpine
restart: unless-stopped
ports:
- '6379:6379'
metabase:
image: metabase/metabase:latest
restart: unless-stopped
environment:
MB_DB_TYPE: postgres
MB_DB_DBNAME: metabase
MB_DB_PORT: 5432
MB_DB_USER: metabase_app
MB_DB_PASS: metabase_app_dev
MB_DB_HOST: postgres
MB_SITE_URL: http://localhost:3000
ports:
- '3000:3000'
depends_on:
postgres:
condition: service_healthy
volumes:
postgres-storage: