-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 924 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 924 Bytes
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
version: "3"
volumes:
boruta-logs:
services:
postgres:
image: postgres:14
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
POSTGRES_DATABASE: "boruta_release"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
boruta:
stdin_open: true
tty: true
build:
context: .
dockerfile: Dockerfile.full
args:
BORUTA_OAUTH_BASE_URL: "http://localhost:8080"
ports:
- "8080:8080"
- "8081:8081"
- "8082:8082"
- "8083:8083"
volumes:
- "boruta-logs:/app/log"
env_file: "./.env.example"
environment:
MIX_ENV: "prod"
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
POSTGRES_DATABASE: "boruta_release"
POSTGRES_HOST: "postgres"
depends_on:
postgres:
condition: service_healthy