-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.template
78 lines (70 loc) · 2 KB
/
docker-compose.yml.template
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
74
75
version: '3'
networks:
bibbox-default-network:
external: true
services:
§§INSTANCE-nocodb:
container_name: §§INSTANCE-nocodb
networks:
- bibbox-default-network
environment:
NC_DB: "pg://nocodb-db:5432?u=§§POSTGRES_DATABASE_USER&p=§§POSTGRES_DATABASE_PASSWORD&d=nocodb"
NC_SMTP_FROM: §§NC_SMTP_FROM
NC_SMTP_HOST: §§NC_SMTP_HOST
NC_SMTP_PORT: §§NC_SMTP_PORT
NC_SMTP_USERNAME: §§NC_SMTP_USERNAME
NC_SMTP_PASSWORD: §§NC_SMTP_PASSWORD
NC_SMTP_SECURE: "§§NC_SMTP_SECURE"
NC_SMTP_IGNORE_TLS: "§§NC_SMTP_IGNORE_TLS"
links:
- §§INSTANCE-nocodb-db:nocodb-db
depends_on:
§§INSTANCE-nocodb-db:
condition: service_healthy
image: nocodb/nocodb:0.109.3
ports:
- 8010:8080
proxy:
TYPE: PRIMARY
URLPREFIX: §§INSTANCE
TEMPLATE: default
DISPLAYNAME: 'nocodb'
restart: unless-stopped
volumes:
- ./data/nocodb/data:/usr/app/data
§§INSTANCE-nocodb-adminer:
networks:
- bibbox-default-network
container_name: §§INSTANCE-nocodb-adminer
environment:
ADMINER_DEFAULT_DB_DRIVER: postgres
ADMINER_DEFAULT_DB_HOST: nocodb-db
ADMINER_DEFAULT_DB_NAME: nocodb
image: adminer
links:
- §§INSTANCE-nocodb-db:nocodb-db
ports:
- 8020:8080
proxy:
TYPE: HELPER
URLPREFIX: §§INSTANCE-adminer
TEMPLATE: default
DISPLAYNAME: 'adminer'
restart: unless-stopped
§§INSTANCE-nocodb-db:
container_name: §§INSTANCE-nocodb-db
networks:
- bibbox-default-network
environment:
POSTGRES_USER: §§POSTGRES_DATABASE_USER
POSTGRES_PASSWORD: §§POSTGRES_DATABASE_PASSWORD
POSTGRES_DB: nocodb
healthcheck:
interval: 10s
retries: 10
test: "pg_isready -U \"$$POSTGRES_USER\" -d \"$$POSTGRES_DB\""
timeout: 2s
image: postgres:15.1
restart: unless-stopped
volumes:
- ./data/pgsql/data:/var/lib/postgresql/data