services: postgres: image: timescale/timescaledb:latest-pg16 container_name: crypto-hermes-postgres environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: hermes_market ports: - "5432:5432" volumes: - hermes_pg_data:/var/lib/postgresql/data app: build: . container_name: crypto-hermes-market-gateway depends_on: - postgres ports: - "8080:8080" environment: CONFIG_PATH: /app/config/config.yml POSTGRES_DSN: postgres://postgres:postgres@crypto-hermes-postgres:5432/hermes_market?sslmode=disable volumes: - ./config:/app/config volumes: hermes_pg_data: