Skip to content

add postgresql to sztp #104

@glimchb

Description

@glimchb

like

volumes:
  sztp_data: {}

services:
  db:
    image: postgres:9.5
    volumes:
      - sztp_data:/var/lib/postgresql/data
    environment:
      POSTGRES_DB: sztpd-db
      POSTGRES_USER: sztpd-admin
      POSTGRES_PASSWORD: secret
    healthcheck:
      test: ["CMD", "pg_isready", "-U", "sztpd-admin"]
      interval: 30s
      timeout: 30s
      retries: 3

and

   sztpd postgresql://sztpd-admin:[email protected]:5432/sztpd-db 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions