-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nginx: changed to ondrej/nginx (#71)
* Dockerfile: moving from nginx to ondrej PPA Base OS moved from Ubuntu 18.04 —> 20.04 * Travis: updated for parallelism Co-authored-by: Bryan Latten <latten@adobe.com>
- Loading branch information
1 parent
0ee8249
commit f1f235a
Showing
3 changed files
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
SERVER_LOG_MINIMAL=1 | ||
SERVER_APP_NAME=docker-nginx | ||
S6_KILL_FINISH_MAXTIME=1 | ||
S6_KILL_GRACETIME=1 | ||
SERVER_WORKER_PROCESSES=1 | ||
SERVER_CLIENT_HEADER_BUFFER_SIZE=8k | ||
SERVER_LARGE_CLIENT_HEADER_BUFFERS=8 16k | ||
SERVER_CLIENT_BODY_BUFFER_SIZE=128k |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
sudo: required | ||
|
||
env: | ||
- DOCKERFILE=Dockerfile | ||
- DOCKERFILE=Dockerfile-alpine | ||
- DOCKERFILE=Dockerfile-centos | ||
|
||
services: | ||
- docker | ||
|
||
script: | ||
- docker-compose build ubuntu | ||
- docker-compose build alpine | ||
- docker-compose build centos | ||
- docker-compose up -d | ||
- docker build -t nginxtest -f ${DOCKERFILE} . | ||
- docker run -p 8080:8080 -d nginxtest | ||
- docker run -p 8081:8080 -d --env-file ./.test.env nginxtest | ||
- sleep 5 | ||
- docker-compose ps | ||
- curl localhost:8080 | grep "Welcome to nginx!" | ||
- curl localhost:8081 | grep "Welcome to nginx!" | ||
- curl localhost:8082 | grep "Welcome to nginx!" | ||
- docker-compose kill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters