Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
start:
docker-compose up -d
start-01:
docker-compose -f examples/01-proxy-to-all-lambda-functions/docker-compose.yml up -d

ps:
docker ps --format "table {{.ID}}\t{{.Image}}\t{{.Ports}}\t{{.Names}}"

watch:
watch 'docker ps --format "table {{.ID}}\t{{.Image}}\t{{.Ports}}\t{{.Names}}"'

down:
docker-compose down
down-01:
docker-compose -f examples/01-proxy-to-all-lambda-functions/docker-compose.yml down

clean:
docker kill $$(docker ps -q) 2> /dev/null || true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@ services:
container_name: nginx_lambda
image: nginx_lambda
build:
context: ./
context: ../../
# Enable this when using NGINX OSS
dockerfile: ./docker/Dockerfile.oss

# Enable this when using NGINX Plus
# dockerfile: ./docker/Dockerfile.plus
volumes:
- ./examples/01-proxy-to-all-lambda-functions/:/etc/nginx/conf.d/
- ./core:/etc/nginx/lambda
- ../../examples/01-proxy-to-all-lambda-functions/:/etc/nginx/conf.d/
- ../../core:/etc/nginx/lambda
ports:
- "80:80"
- "8080:8080"
env_file:
- settings.test
- ../../settings.test