Skip to content
Snippets Groups Projects
Select Git revision
  • 0df3b40d1e02f64f11746b4c890888eab627b939
  • master default protected
  • development_0.9.5/2.2.2_post_merge_david_branch
  • dhendriks/versions/0.9.5/2.2.2_post_merge
  • feature/MC_sampling
  • push_test
  • development_0.9.5/2.2.2
  • fix/new_mac_fix
  • development_0.9.3/2.2.1_pre-merge
  • dhendriks/versions/0.9.3/2.2.1_pre_merge
  • development_0.9.4/2.2.1
  • development_0.9.5/2.2.1
  • development_0.9.3/2.2.1
  • papers/JOSS_release
  • feature/binary_c_ensemble_manager_implementation
  • feature/HPC
  • development_0.9.2/2.2.1
  • development_0.9.2/2.2.0
  • auto_resolution
  • feature/generate_docs_script
  • feature/custom_system_generator_endpoint
  • 0.9.1
  • v2.2.0
  • archive/queue_solution
  • archive/capsules
  • archive/gitlab_pages
  • 0.3.1
  • 0.3
  • archive/population
  • archive/david_branch
  • archive/black_formatting
  • 2.1.6
  • archive/help_function
  • 0.21
  • 0.2
  • archive/restructure_module
  • 2.1.5
  • archive/readthedocs
  • archive/better_makefile
  • archive/src_location
  • 2.1.4
41 results

Makefile

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    docker-compose.yml 2.04 KiB
    version: '3.8'
    services:
      usermicroservice:
        build:
          context: ./UserMicroservice
        image: usermicroservice:${IMAGE_TAG}
        ports:
          - "${USER_MICROSERVICE_PORT}:8080"
        environment:
          - ASPNETCORE_ENVIRONMENT=Production
          - DOTNET_RUNNING_IN_CONTAINER=true
          - ConnectionStrings__DefaultConnection=Server=host.docker.internal;Port=${DB_PORT};Database=${DB_NAME};User=${DB_USER};Password=${DB_PASSWORD};CharSet=${DB_CHARSET}
          - Jwt__Key=0QTrd3jToEYj205k01A2R87Hc5YpqDNeywg7JzQpczs=
          - Jwt__Issuer=http://usermicroservice:8080
          - Jwt__Audience=http://usermicroservice:8080
    
      flightmicroservice:
        build:
          context: ./FlightMicroservice
        image: flightmicroservice:${IMAGE_TAG}
        ports:
          - "${FLIGHT_MICROSERVICE_PORT}:8080"
        environment:
          - ASPNETCORE_ENVIRONMENT=Production
          - DOTNET_RUNNING_IN_CONTAINER=true
          - ConnectionStrings__DefaultConnection=Server=host.docker.internal;Port=${DB_PORT};Database=${DB_NAME};User=${DB_USER};Password=${DB_PASSWORD};CharSet=${DB_CHARSET}
          - Jwt__Key=0QTrd3jToEYj205k01A2R87Hc5YpqDNeywg7JzQpczs=
          - Jwt__Issuer=http://usermicroservice:8080
          - Jwt__Audience=http://usermicroservice:8080
    
      gatewayapi:
        build:
          context: ./GatewayAPI
        image: gatewayapi:${IMAGE_TAG}
        ports:
          - "${GATEWAY_API_PORT}:8080"
        environment:
          - ASPNETCORE_ENVIRONMENT=Production
          - DOTNET_RUNNING_IN_CONTAINER=true
          - UserMicroservice__BaseUrl=http://usermicroservice:8080
          - FlightMicroservice__BaseUrl=http://flightmicroservice:8080
    
      client:
        build:
          context: ./client
        image: client:${IMAGE_TAG}
        ports:
          - "${CLIENT_PORT}:4200"
    
      db:
        image: mysql:${MYSQL_IMAGE_TAG}
        command: --default-authentication-plugin=mysql_native_password
        restart: always
        environment:
          MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
          MYSQL_DATABASE: ${DB_NAME}
          MYSQL_USER: ${DB_USER}
          MYSQL_PASSWORD: ${DB_PASSWORD}
        volumes:
          - ./Database:/docker-entrypoint-initdb.d
        ports:
          - "${DB_PORT}:3306"