-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (56 loc) · 1.35 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
55
56
57
58
59
60
version: '3.1'
services:
netapp:
container_name: 8b_netapp
image: 8b_netapp:latest
env_file:
- .env
environment:
NETAPP_NAME: ${netapp_name}
NETAPP_IP: ${netapp_ip}
NEF_IP: ${nef_ip}
NEF_USER: ${nef_user}
NEF_PASS: ${nef_password}
NEF_PORT: ${nef_port}
CALLBACK_ADR: ${callback_address}
HOST: ${host}
DB_NAME: ${postgres_db}
DB_USERNAME: ${postgres_username}
DB_PASS: ${postgres_password}
DB_PORT: ${postgres_port}
CAPIF_HOSTNAME: ${capifhost}
CAPIF_PORT_HTTP: "8080"
CAPIF_PORT_HTTPS: "443"
CALLBACK_ADDRESS: ${host}:5000
VAPP_IP: ${vapp_ip}
VAPP_USER: ${vapp_user}
VAPP_PASS: ${vapp_pass}
ENVIRONMENT_MODE: ${ENVIRONMENT_MODE}
restart: unless-stopped
build:
context: ./src
dockerfile: Dockerfile
ports:
- 5000:5000
depends_on:
- postgres
postgres:
container_name: 8b_netapp_db
image: postgres:14
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: ${postgres_password}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 20
adminer:
container_name: 8b_netapp_adminer
image: adminer:4.7
ports:
- 8008:8080
depends_on:
postgres:
condition: service_healthy