-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-host.yml
59 lines (55 loc) · 1.86 KB
/
docker-compose-host.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
version: "3"
volumes:
cloudbeaver: {}
cloudbeaver_certs: {}
postgres_data: {}
nginx_ssl_data: {}
nginx_conf_data: {}
services:
nginx:
restart: unless-stopped
image: $IMAGE_SOURCE/cloudbeaver-nginx:${CLOUDBEAVER_VERSION_TAG}
network_mode: host
environment:
- NETWORK_MODE=host
- NGINX_LISTEN_PORT_HTTP=80
- NGINX_LISTEN_PORT_HTTPS=443
volumes:
- nginx_conf_data:/etc/nginx/product-conf/
- nginx_ssl_data:/etc/nginx/ssl/
depends_on:
- cloudbeaver
cloudbeaver:
image: $IMAGE_SOURCE/cloudbeaver-ee:${CLOUDBEAVER_VERSION_TAG}
hostname: cloudbeaver
network_mode: host
restart: unless-stopped
volumes:
- cloudbeaver:/opt/cloudbeaver/workspace
- cloudbeaver_certs:/opt/cloudbeaver/conf/certificates/
environment:
- CLOUDBEAVER_DB_DRIVER=${CLOUDBEAVER_DB_DRIVER}
- CLOUDBEAVER_DB_URL=${CLOUDBEAVER_DB_URL}
- CLOUDBEAVER_DB_USER=${CLOUDBEAVER_DB_USER}
- CLOUDBEAVER_DB_PASSWORD=${CLOUDBEAVER_DB_PASSWORD}
- CLOUDBEAVER_DB_SCHEMA=${CLOUDBEAVER_DB_SCHEMA}
- CLOUDBEAVER_QM_DB_DRIVER=${CLOUDBEAVER_QM_DB_DRIVER}
- CLOUDBEAVER_QM_DB_URL=${CLOUDBEAVER_QM_DB_URL}
- CLOUDBEAVER_QM_DB_USER=${CLOUDBEAVER_QM_DB_USER}
- CLOUDBEAVER_QM_DB_PASSWORD=${CLOUDBEAVER_QM_DB_PASSWORD}
- CLOUDBEAVER_QM_DB_SCHEMA=${CLOUDBEAVER_QM_DB_SCHEMA}
- CLOUDBEAVER_DMSVC_URL=http://127.0.0.1:11000
depends_on:
- postgres
postgres:
restart: unless-stopped
hostname: postgres
network_mode: host
image: ${IMAGE_SOURCE:-dbeaver}/cloudbeaver-postgres:16
volumes:
- postgres_data:/var/lib/postgresql/data
- ./cloudbeaver-db-init.sql:/docker-entrypoint-initdb.d/cb-init.sql
environment:
- POSTGRES_DB=cloudbeaver
- POSTGRES_USER=${CLOUDBEAVER_DB_USER}
- POSTGRES_PASSWORD=${CLOUDBEAVER_DB_PASSWORD}