--- services: languagetool: image: erikvl87/languagetool container_name: languagetool # ports: # - 8010:8010 # Using default port from the image networks: - nginx_default environment: # - langtool_languageModel=/ngrams # OPTIONAL: Using ngrams data - Java_Xms=512m # OPTIONAL: Setting a minimal Java heap size of 512 mib - Java_Xmx=1g # OPTIONAL: Setting a maximum Java heap size of 1 Gib # volumes: # - /path/to/ngrams/data:/ngrams restart: unless-stopped networks: nginx_default: external: true name: nginx_default