github.com/apache/beam/sdks/v2@v2.48.2/java/transform-service/docker-compose/docker-compose.yml (about) 1 # Licensed under the Apache License, Version 2.0 (the "License"); 2 # you may not use this file except in compliance with the License. 3 # You may obtain a copy of the License at 4 # 5 # http://www.apache.org/licenses/LICENSE-2.0 6 # 7 # Unless required by applicable law or agreed to in writing, software 8 # distributed under the License is distributed on an "AS IS" BASIS, 9 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 # See the License for the specific language governing permissions and 11 # limitations under the License. 12 13 version: "3.9" 14 services: 15 transform-service: 16 image: "apache/beam_transform_service_controller:${BEAM_VERSION}" 17 restart: on-failure 18 command: -port 5001 19 ports: 20 - "5001:5001" 21 expansion-service-1: 22 image: "apache/beam_java_expansion_service:${BEAM_VERSION}" 23 restart: on-failure 24 command: -id expansion-service-1 -port 5001 25 volumes: 26 - ${CREDENTIALS_VOLUME}:/credentials_volume 27 environment: 28 - GOOGLE_APPLICATION_CREDENTIALS=/credentials_volume/${GOOGLE_APPLICATION_CREDENTIALS_FILE_NAME} 29 expansion-service-2: 30 image: "apache/beam_python_expansion_service:${BEAM_VERSION}" 31 restart: on-failure 32 command: -id expansion-service-2 -port 5001 33 volumes: 34 - ${CREDENTIALS_VOLUME}:/credentials_volume 35 environment: 36 - GOOGLE_APPLICATION_CREDENTIALS=/credentials_volume/${GOOGLE_APPLICATION_CREDENTIALS_FILE_NAME}