version: "3" services: project: image: ${project_image} depends_on: - kafka - postgres - elasticsearch network_mode: host environment: - "DEPLOYMENT=${DEPLOYMENT}" - "KAFKA=localhost:9094" - "DBURL=jdbc:postgresql://localhost:5432/project" - "DBUSER=postgres" - "DBPASS=${DATABASE_PASSWORD}" - "SERVER_PORT=8081" - "ELASTICSEARCH_HOST=127.0.0.1" - "ELASTICSEARCH_NATIVE_PORT=9300" - "ELASTICSEARCH_HTTP_PORT=9200" - "JWTSECRET=${JWTSECRET}" - "WAITHOST=localhost" - "WAITPORT=9094" - "WAITTIME=180" logging: driver: "json-file" options: max-size: "20000k" max-file: "1"