mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-22 11:56:31 +00:00
Merge pull request #901 from brikou/patch-2
Simplify docker-compose.yml example
This commit is contained in:
commit
df24d9dff5
@ -39,10 +39,10 @@ This image is based on the nginx:alpine image. Use this image to fully support H
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
version: '2'
|
version: '2'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nginx-proxy:
|
nginx-proxy:
|
||||||
image: jwilder/nginx-proxy
|
image: jwilder/nginx-proxy
|
||||||
container_name: nginx-proxy
|
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
volumes:
|
volumes:
|
||||||
@ -50,7 +50,6 @@ services:
|
|||||||
|
|
||||||
whoami:
|
whoami:
|
||||||
image: jwilder/whoami
|
image: jwilder/whoami
|
||||||
container_name: whoami
|
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=whoami.local
|
- VIRTUAL_HOST=whoami.local
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user