@@ -4,7 +4,7 @@ version: '3.9'
4
4
x-common-django :
5
5
&default-common-django
6
6
image : geonode/geonode:latest-ubuntu-22.10
7
- restart : on-failure
7
+ restart : unless-stopped
8
8
env_file :
9
9
- .env
10
10
volumes :
@@ -50,7 +50,7 @@ services:
50
50
51
51
# Nginx is serving django static and media files and proxies to django and geonode
52
52
geonode :
53
- image : geonode/nginx:4.0
53
+ image : geonode/nginx:4.1. 0
54
54
build : ./scripts/docker/nginx/
55
55
container_name : nginx4${COMPOSE_PROJECT_NAME}
56
56
environment :
@@ -67,11 +67,11 @@ services:
67
67
- nginx-confd:/etc/nginx
68
68
- nginx-certificates:/geonode-certificates
69
69
- statics:/mnt/volumes/statics
70
- restart : on-failure
70
+ restart : unless-stopped
71
71
72
72
# Gets and installs letsencrypt certificates
73
73
letsencrypt :
74
- image : geonode/letsencrypt:4.0
74
+ image : geonode/letsencrypt:4.1. 0
75
75
build : ./scripts/docker/letsencrypt/
76
76
container_name : letsencrypt4${COMPOSE_PROJECT_NAME}
77
77
environment :
@@ -81,7 +81,7 @@ services:
81
81
- LETSENCRYPT_MODE=${LETSENCRYPT_MODE}
82
82
volumes :
83
83
- nginx-certificates:/geonode-certificates
84
- restart : on-failure
84
+ restart : unless-stopped
85
85
86
86
# Geoserver backend
87
87
geoserver :
@@ -101,7 +101,7 @@ services:
101
101
- backup-restore:/backup_restore
102
102
- data:/data
103
103
- tmp:/tmp
104
- restart : on-failure
104
+ restart : unless-stopped
105
105
depends_on :
106
106
db :
107
107
condition : service_healthy
@@ -114,22 +114,22 @@ services:
114
114
entrypoint : sleep infinity
115
115
volumes :
116
116
- geoserver-data-dir:/geoserver_data/data
117
- restart : on-failure
117
+ restart : unless-stopped
118
118
healthcheck :
119
119
test : " ls -A '/geoserver_data/data' | wc -l"
120
120
121
121
# PostGIS database.
122
122
db :
123
- # use geonode official postgis 13 image
124
- image : geonode/postgis:13
123
+ # use geonode official postgis 15 image
124
+ image : geonode/postgis:15
125
125
command : postgres -c "max_connections=${POSTGRESQL_MAX_CONNECTIONS}"
126
126
container_name : db4${COMPOSE_PROJECT_NAME}
127
127
env_file :
128
128
- .env
129
129
volumes :
130
130
- dbdata:/var/lib/postgresql/data
131
131
- dbbackups:/pg_backups
132
- restart : on-failure
132
+ restart : unless-stopped
133
133
healthcheck :
134
134
test : " pg_isready -d postgres -U postgres"
135
135
# uncomment to enable remote connections to postgres
@@ -138,11 +138,11 @@ services:
138
138
139
139
# Vanilla RabbitMQ service. This is needed by celery
140
140
rabbitmq :
141
- image : rabbitmq:3.7 -alpine
141
+ image : rabbitmq:3-alpine
142
142
container_name : rabbitmq4${COMPOSE_PROJECT_NAME}
143
143
volumes :
144
144
- rabbitmq:/var/lib/rabbitmq
145
- restart : on-failure
145
+ restart : unless-stopped
146
146
147
147
volumes :
148
148
statics :
0 commit comments