Skip to content

Commit fb5debb

Browse files
author
Obada Haddad
committed
add upgrade information in docker-compose.yml for Postgres
1 parent 2a20c3d commit fb5debb

1 file changed

Lines changed: 17 additions & 14 deletions

File tree

docker-compose.yml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
2-
#-----------------------------------------------
2+
#----------------------------------------------------------------------------------------------------
33
# Web Services
4-
#-----------------------------------------------
4+
#----------------------------------------------------------------------------------------------------
55
caddy:
66
image: caddy:2.10.0
77
env_file: .env
@@ -50,9 +50,9 @@ services:
5050
max-file: "5"
5151

5252

53-
#-----------------------------------------------
53+
#----------------------------------------------------------------------------------------------------
5454
# Minio local storage helper
55-
#-----------------------------------------------
55+
#----------------------------------------------------------------------------------------------------
5656
minio:
5757
image: minio/minio:RELEASE.2025-04-22T22-12-26Z
5858
command: server /export
@@ -91,9 +91,9 @@ services:
9191
exit 0;
9292
"
9393
94-
#-----------------------------------------------
94+
#----------------------------------------------------------------------------------------------------
9595
# Local development helper, rebuilds RiotJS/Stylus on change
96-
#-----------------------------------------------
96+
#----------------------------------------------------------------------------------------------------
9797
builder:
9898
build:
9999
context: .
@@ -107,9 +107,12 @@ services:
107107
max-file: "5"
108108

109109

110-
#-----------------------------------------------
110+
#----------------------------------------------------------------------------------------------------
111111
# Database Service
112-
#-----------------------------------------------
112+
#
113+
# Since Postgres 18, PGDATA is supposed to point towards /var/lib/postgresql/*MAJORVERSION*/docker
114+
# Make sure to change the path when upgrading
115+
#----------------------------------------------------------------------------------------------------
113116
db:
114117
image: postgres:18-alpine
115118
env_file: .env
@@ -129,9 +132,9 @@ services:
129132
max-size: "20m"
130133
max-file: "5"
131134

132-
#-----------------------------------------------
135+
#----------------------------------------------------------------------------------------------------
133136
# Rabbitmq & Flower monitoring tool
134-
#-----------------------------------------------
137+
#----------------------------------------------------------------------------------------------------
135138
rabbit:
136139
build:
137140
context: .
@@ -172,9 +175,9 @@ services:
172175
max-size: "20m"
173176
max-file: "5"
174177

175-
#-----------------------------------------------
178+
#----------------------------------------------------------------------------------------------------
176179
# Redis
177-
#-----------------------------------------------
180+
#----------------------------------------------------------------------------------------------------
178181
redis:
179182
image: redis
180183
ports:
@@ -185,9 +188,9 @@ services:
185188
max-size: "20m"
186189
max-file: "5"
187190

188-
#-----------------------------------------------
191+
#----------------------------------------------------------------------------------------------------
189192
# Celery Service
190-
#-----------------------------------------------
193+
#----------------------------------------------------------------------------------------------------
191194
site_worker:
192195
# This auto-reloads
193196
command: ["watchmedo auto-restart -p '*.py' --recursive -- celery -A celery_config worker -B -Q site-worker -l info -n site-worker@%n --concurrency=2"]

0 commit comments

Comments
 (0)