mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-09 13:03:10 +00:00
dev: bind postgres to localhost
This commit is contained in:
parent
b352581030
commit
2fa1ac5fdf
1 changed files with 17 additions and 17 deletions
|
|
@ -1,17 +1,17 @@
|
|||
version: "3.9"
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16
|
||||
container_name: likwid-postgres
|
||||
ports:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
POSTGRES_USER: ${POSTGRES_USER:-likwid}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-likwid}
|
||||
POSTGRES_DB: ${POSTGRES_DB:-likwid}
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16
|
||||
container_name: likwid-postgres
|
||||
ports:
|
||||
- "127.0.0.1:5432:5432"
|
||||
environment:
|
||||
POSTGRES_USER: ${POSTGRES_USER:-likwid}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-likwid}
|
||||
POSTGRES_DB: ${POSTGRES_DB:-likwid}
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
|
|
|
|||
Loading…
Reference in a new issue