version: '3'
services:
  db:
    image: mysql:5.6
    environment:
      MYSQL_ROOT_PASSWORD: r00t
      MYSQL_DATABASE: ligoj
      MYSQL_USER: ligoj
      MYSQL_PASSWORD: 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=public" \
    links:
      - db:ligoj-db
    depends_on: 
      - db
  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"

version: '3'
services:
  db:
    image: mysql:5.6
    environment:
      MYSQL_ROOT_PASSWORD: r00t
      MYSQL_DATABASE: ligoj
      MYSQL_USER: ligoj
      MYSQL_PASSWORD: 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=public"
    links:
      - db:ligoj-db
    depends_on: 
      - db
  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"

Fix Docken environment variable syntax
Fix Docken environment variable syntax
