<commit_before>version: '2'

volumes:
  pub_db_data:
  pub_db_logs:
  pub_service_raster:
  pub_service_sslconf:
  pub_provider_conf:
  pub_geoserver_staging_data:
  pub_geoserver_public_data:

services:
  pub.db:
    image: idgis/geopublisher_database:${PUB_VERSION}
    restart: always
    environment:
      - PG_USER=publisher
      - PG_PASSWORD=${PUB_PG_PASSWORD}
    volumes:
      - pub_db_data:/var/lib/postgresql
      - pub_db_logs:/var/log/postgresql
      
  pub.db.init:
    build: pub-db-init
    depends_on:
      - pub.db
    environment:
      - PG_HOST=pub.db
      - PG_PORT=5432
      - PG_DBNAME=publisher
      - PG_USER=publisher
      - PG_PASSWORD=${PUB_PG_PASSWORD}
      - DATASOURCE_0=geodropin-vector,Vectordata
      - ENVIRONMENT_0=geoserver-public,Publieke services,false,http://${DOMAIN_PREFIX}${DOMAIN_SUFFIX}:${HTTP_PORT}/public/geoserver/,false
      
  pub.provider:
    image: idgis/geopublisher_provider:${PUB_VERSION}
    restart: always
    environment:
      - JAVA_OPTS=-Xmx256M -Duser.timezone=${TIME_ZONE}
    volumes:
      - pub_provider_conf:/etc/geo-publisher/provider
    
  pub.service:
    image: idgis/geopublisher_service:${PUB_VERSION}
    restart: always
    depends_on:
      - pub.db
    ports:
      - "${IP_ADDR}:4242:4242"
    environment:<commit_msg>removed pub service port mapping<commit_after>version: '2'

volumes:
  pub_db_data:
  pub_db_logs:
  pub_service_raster:
  pub_service_sslconf:
  pub_provider_conf:
  pub_geoserver_staging_data:
  pub_geoserver_public_data:

services:
  pub.db:
    image: idgis/geopublisher_database:${PUB_VERSION}
    restart: always
    environment:
      - PG_USER=publisher
      - PG_PASSWORD=${PUB_PG_PASSWORD}
    volumes:
      - pub_db_data:/var/lib/postgresql
      - pub_db_logs:/var/log/postgresql
      
  pub.db.init:
    build: pub-db-init
    depends_on:
      - pub.db
    environment:
      - PG_HOST=pub.db
      - PG_PORT=5432
      - PG_DBNAME=publisher
      - PG_USER=publisher
      - PG_PASSWORD=${PUB_PG_PASSWORD}
      - DATASOURCE_0=geodropin-vector,Vectordata
      - ENVIRONMENT_0=geoserver-public,Publieke services,false,http://${DOMAIN_PREFIX}${DOMAIN_SUFFIX}:${HTTP_PORT}/public/geoserver/,false
      
  pub.provider:
    image: idgis/geopublisher_provider:${PUB_VERSION}
    restart: always
    environment:
      - JAVA_OPTS=-Xmx256M -Duser.timezone=${TIME_ZONE}
    volumes:
      - pub_provider_conf:/etc/geo-publisher/provider
    
  pub.service:
    image: idgis/geopublisher_service:${PUB_VERSION}
    restart: always
    depends_on:
      - pub.db
    environment:
{'fraction_non_alphanumeric': 0.10564733000384172, 'fraction_numerical': 0.010756819054936612, 'mean_word_length': 3.087912087912088, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5361467', 'n_tokens_mistral': 1009, 'n_tokens_neox': 999, 'n_words': 113}