forked from geoserver/geoserver-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-pgconfig.yml
72 lines (61 loc) · 1.54 KB
/
docker-compose-pgconfig.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
version: "3.8"
volumes:
pgconfig_data: # volume for postgresql data, used to store the geoserver config through pgsqlconfig backend
#
# Configures all geoserver services to use the postgresql database server with jdbcconfig as catalog backend.
# Run with `docker-compose --compatibility -f docker-compose.yml -f docker-compose-jdbcconfig.yml up -d`
#
services:
pgconfig:
image: postgres:15
shm_size: 2g
environment:
POSTGRES_DB: pgconfig
POSTGRES_USER: pgconfig
POSTGRES_PASSWORD: pgconfig
ports:
- 54322:5432
networks:
- gs-cloud-network
volumes:
- pgconfig_data:/var/lib/postgresql/data
deploy:
resources:
limits:
cpus: '4.0'
memory: 4G
wfs:
environment:
SPRING_PROFILES_ACTIVE: "${DEFAULT_PROFILES},pgconfig"
depends_on:
- pgconfig
wms:
environment:
SPRING_PROFILES_ACTIVE: "${DEFAULT_PROFILES},pgconfig"
depends_on:
- pgconfig
wcs:
environment:
SPRING_PROFILES_ACTIVE: "${DEFAULT_PROFILES},pgconfig"
depends_on:
- pgconfig
rest:
environment:
SPRING_PROFILES_ACTIVE: "${DEFAULT_PROFILES},pgconfig"
depends_on:
- pgconfig
webui:
environment:
SPRING_PROFILES_ACTIVE: "${DEFAULT_PROFILES},pgconfig"
depends_on:
- pgconfig
gwc:
environment:
SPRING_PROFILES_ACTIVE: "${DEFAULT_PROFILES},pgconfig"
depends_on:
- pgconfig
wps:
environment:
SPRING_PROFILES_ACTIVE: "${DEFAULT_PROFILES},pgconfig"
depends_on:
- pgconfig