-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
73 lines (66 loc) · 2 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
61
62
63
64
65
66
67
68
69
70
71
version: "3"
volumes:
cloudbeaver: {}
cloudbeaver_certs: {}
postgres_data: {}
nginx_ssl_data: {}
nginx_conf_data: {}
networks:
cloudbeaver-private-net:
services:
nginx:
restart: unless-stopped
image: $IMAGE_SOURCE/cloudbeaver-nginx:${CLOUDBEAVER_VERSION_TAG}
ports:
- 80:8080
- 443:8443
env_file:
- .env
networks:
- cloudbeaver-private-net
volumes:
- nginx_conf_data:/etc/nginx/product-conf/
- nginx_ssl_data:/etc/nginx/ssl/
depends_on:
- cloudbeaver
cloudbeaver:
restart: unless-stopped
hostname: cloudbeaver
image: $IMAGE_SOURCE/cloudbeaver-ee:${CLOUDBEAVER_VERSION_TAG}
deploy:
replicas: ${REPLICA_COUNT_EE:-1}
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}
expose:
- ${CLOUDBEAVER_WEB_SERVER_PORT:-8978}
depends_on:
- postgres
networks:
- cloudbeaver-private-net
postgres:
restart: unless-stopped
hostname: postgres
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}
expose:
- 5432
networks:
- cloudbeaver-private-net