add PostgreSQL

This commit is contained in:
2024-11-16 10:04:33 +01:00
parent 52f84647d5
commit e40360e9e1
2 changed files with 26 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ networks:
volumes:
influx-config:
influx-data:
postgres:
services:
@@ -40,3 +41,17 @@ services:
volumes:
- influx-data:/var/lib/influxdb2
- influx-config:/etc/influxdb2
postgres:
image: postgres:17.1-alpine
container_name: PostgreSQL
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD : password
ports:
- "5432:5432"
networks:
- develop
volumes:
- postgres:/var/lib/postgresql/data