-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (38 loc) · 1.01 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#*********************************************************************
# Copyright 2020 Regents of the University of California
# All rights reserved
#*********************************************************************
version: '3.9'
networks:
mynet:
services:
lambda-container:
container_name: lambda-container
image: ${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/mysql-ruby-lambda
build:
context: mysql-ruby-lambda
dockerfile: Dockerfile
stdin_open: true
tty: true
ports:
- published: 8090
target: 8080
networks:
mynet:
alb-simulate:
container_name: alb-simulate
image: ${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/simulate-lambda-alb
build:
context: simulate-lambda-alb
dockerfile: Dockerfile
networks:
mynet:
environment:
LAMBDA_DOCKER_HOST: http://lambda-container:8080
ports:
- published: 8091
target: 8091
stdin_open: true
tty: true
depends_on:
- lambda-container