upgrade yaml version to 3 and change postgresql version

This commit is contained in:
DavidVadnais
2025-03-10 12:07:32 -10:00
parent 07e5eff73e
commit db5e67c726

View File

@ -1,5 +1,3 @@
version: '2'
# Define named volumes # Define named volumes
volumes: volumes:
caddy_data: caddy_data:
@ -30,7 +28,7 @@ services:
- postgres - postgres
postgres: postgres:
image: postgres:13-bullseye image: postgres:${POSTGRES_MAJOR_VERSION:-17}-bullseye
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
env_file: docker.env env_file: docker.env