add PostgreSQL
This commit is contained in:
15
compose.yml
15
compose.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user