-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpodman-compose.yml
73 lines (72 loc) · 2.4 KB
/
podman-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
72
73
# run as root before up this compose:
# loginctl enable-linger 1000
# echo 'net.ipv4.ip_unprivileged_port_start=80' >> /etc/sysctl.conf
# sysctl -p
version: '3'
volumes:
cloudbeaver: {}
cloudbeaver_certs: {}
postgres_data: {}
nginx_ssl_data: {}
nginx_conf_data: {}
networks:
cloudbeaver-private-net: null
services:
nginx:
restart: unless-stopped
image: ${PODMAN_IMAGE_SOURCE:-docker.io/dbeaver}/cloudbeaver-nginx:${CLOUDBEAVER_VERSION_TAG}
ports:
- 80:8080
- 443:8443
environment:
- REPLICA_COUNT_EE=${REPLICA_COUNT_EE:-1}
- COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME:-dbeaver}
- CLOUDBEAVER_WEB_SERVER_PORT=${CLOUDBEAVER_WEB_SERVER_PORT:-8978}
networks:
- cloudbeaver-private-net
volumes:
- nginx_conf_data:/etc/nginx/product-conf/:z
- nginx_ssl_data:/etc/nginx/ssl/:z
depends_on:
- cloudbeaver
cloudbeaver:
restart: unless-stopped
hostname: cloudbeaver
image: ${PODMAN_IMAGE_SOURCE:-docker.io/dbeaver}/cloudbeaver-ee:${CLOUDBEAVER_VERSION_TAG}
deploy:
replicas: ${REPLICA_COUNT_EE:-1}
volumes:
- cloudbeaver:/opt/cloudbeaver/workspace:z
- cloudbeaver_certs:/opt/cloudbeaver/conf/certificates/:z
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: ${PODMAN_IMAGE_SOURCE:-docker.io/dbeaver}/cloudbeaver-postgres:16
volumes:
- postgres_data:/var/lib/postgresql/data:z
- ./cloudbeaver-db-init.sql:/docker-entrypoint-initdb.d/cb-init.sql:z
environment:
- POSTGRES_DB=cloudbeaver
- POSTGRES_USER=${CLOUDBEAVER_DB_USER}
- POSTGRES_PASSWORD=${CLOUDBEAVER_DB_PASSWORD}
expose:
- 5432
networks:
- cloudbeaver-private-net