Skip to content

Error: Unknown OS in postgres #6

@xmlking

Description

@xmlking

please advice if there is any issues with my docker-compose.yml

 container-compose up
Info: No 'name' field found in docker-compose.yml. Using directory name as project name: astra
Stopping container: astra-postgres

--- Processing Services ---
["postgres"]
Pulling Image timescale/timescaledb:latest-pg17...
Error: invalidArgument: "Unknown OS in postgres"
services:
  ###########################################################################
  # postgres database
  ###########################################################################
  postgres:
    image: timescale/timescaledb:latest-pg17
    hostname: postgres
    container_name: postgres
    restart: unless-stopped
    environment:
        POSTGRES_DB: postgres
        POSTGRES_PASSWORD: postgres
        POSTGRES_USER: postgres
        WAL_LEVEL: logical
        MAX_REPLICATION_SLOTS: "10"
        MAX_WAL_SENDERS: "10"
    healthcheck:
      test: ['CMD-SHELL', 'pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB -q']
      interval: 60s
      start_period: 1m
      start_interval: 10s
      timeout: 15s
      retries: 5
    ports:
      - '5432:5432'
    volumes:
        # - type: volume
        #   source: pg_data
        #   target: /var/lib/postgresql/data
        #   read_only: false
        - ./infra/db/init-database.sh:/docker-entrypoint-initdb.d/init-data.sh:Z
###########################################################################
# volumes
###########################################################################
# volumes:
#   pg_data: {}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions