<commit_before>version: '3.6'
services:
  db:
    container_name: ligoj-db
    image: mysql:5.6
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: <PASSWORD>
      MYSQL_DATABASE: ligoj
      MYSQL_USER: ligoj
      MYSQL_PASSWORD: <PASSWORD>
    volumes:
      - ${LIGOJ_DATA:-/var/ligoj/mysql}:/var/lib/mysql
    networks:
      - ligoj-network
  api:
    container_name: ligoj-api
    image: ligoj/ligoj-api:3.0.0
    environment:
      SERVER_HOST: "0.0.0.0"
      SERVER_PORT: "8081"
      CUSTOM_OPTS: "-Djdbc.host=ligoj-db"
      CRYPTO: "-Dapp.crypto.password=<PASSWORD>"
    links:
      - db:ligoj-db
    depends_on: 
      - db
    volumes:
      - ${LIGOJ_HOME:-/home/ligoj}:/home/ligoj
    networks:
      - ligoj-network
  ui:
    container_name: ligoj-ui
    image: ligoj/ligoj-ui:3.0.0
    environment:
      JAVA_OPTIONS: "-Dsecurity=Rest"
      SERVER_PORT: "8080"
      CUSTOM_OPTS: ""
    links:
      - api:ligoj-api
    ports: 
      - "8080:8080"
    networks:
      - ligoj-network
 networks:
   ligoj-network:<commit_msg>Fix docker-compose syntax<commit_after>version: '3.6'
services:
  db:
    container_name: ligoj-db
    image: mysql:5.6
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: <PASSWORD>
      MYSQL_DATABASE: ligoj
      MYSQL_USER: ligoj
      MYSQL_PASSWORD: <PASSWORD>
    volumes:
      - ${LIGOJ_DATA:-/var/ligoj/mysql}:/var/lib/mysql
    networks:
      - ligoj-network
  api:
    container_name: ligoj-api
    image: ligoj/ligoj-api:3.0.0
    environment:
      SERVER_HOST: "0.0.0.0"
      SERVER_PORT: "8081"
      CUSTOM_OPTS: "-Djdbc.host=ligoj-db"
      CRYPTO: "-Dapp.crypto.password=<PASSWORD>"
    links:
      - db:ligoj-db
    depends_on: 
      - db
    volumes:
      - ${LIGOJ_HOME:-/home/ligoj}:/home/ligoj
    networks:
      - ligoj-network
  ui:
    container_name: ligoj-ui
    image: ligoj/ligoj-ui:3.0.0
    environment:
      JAVA_OPTIONS: "-Dsecurity=Rest"
      SERVER_PORT: "8080"
      CUSTOM_OPTS: ""
    links:
      - api:ligoj-api
    ports: 
      - "8080:8080"
    networks:
      - ligoj-network
networks:
  ligoj-network:
{'fraction_non_alphanumeric': 0.12546992481203006, 'fraction_numerical': 0.02819548872180451, 'mean_word_length': 2.2063253012048194, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1502335', 'n_tokens_mistral': 860, 'n_tokens_neox': 842, 'n_words': 129}