TAMULib / SAGE

Search Aggregation Engine
MIT License
6 stars 3 forks source link

Alter sequence if exists #462

Closed ghost closed 1 year ago

ghost commented 1 year ago

Works with h2 memory and file, postgres locally and in docker.

version: '3.7'

networks:
 weaver:

services:

  db:
    image: postgres:10.22-alpine
    environment:
      POSTGRES_USER: sage
      POSTGRES_PASSWORD: sage
      POSTGRES_DB: sage
    ports:
      - 5432:5432
    networks:
      - weaver

  service:
    container_name: sage
    hostname: sage
    build:
      dockerfile: Dockerfile
      context: './'
      args:
        - NPM_REGISTRY=${NPM_REGISTRY}
        - NODE_ENV=${NODE_ENV}
    image: ${IMAGE_HOST}/${SERVICE_PROJECT}${SERVICE_PATH}:${IMAGE_VERSION}
    ports:
      - 9000:9000
    env_file:
      - .env
    networks:
      - weaver
    depends_on:
      - db
coveralls commented 1 year ago

Coverage Status

Coverage increased (+0.02%) to 45.273% when pulling 4a869a4c8edced27be27650e9de1c0e141e52f8f on 458-data-init-if-exists into 4d593c622f4840ed78bac92808de3875ebbbf91b on 458-data-init.

ghost commented 1 year ago

Do not define SPRING_DATASOURCE_PLATFORM it will cause initialization to not find the default data.sql file.