ft_chatons/core/postgresql/compose.yml

29 lines
537 B
YAML

services:
postgres:
image: library/postgres
container_name: postgres
read_only: true
networks:
- proxy
tmpfs:
- /tmp
- /run/postgresql
volumes:
- keycloak-postgres:/var/lib/postgresql
environment:
POSTGRES_USER: bapasqui
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
PGPORT: 3212
POSTGRES_DB: keycloak
restart: unless-stopped
security_opt:
- no-new-privileges:true
volumes:
keycloak-postgres:
networks:
proxy:
name: proxy
external: true