Rename sample folder
This commit is contained in:
parent
04c23163fc
commit
e4d9a7380a
@ -143,7 +143,7 @@ services:
|
|||||||
sample-api:
|
sample-api:
|
||||||
restart: always
|
restart: always
|
||||||
image: sample-api
|
image: sample-api
|
||||||
build: ./sample-containers/api
|
build: ./samples/api
|
||||||
container_name: sample-api
|
container_name: sample-api
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=sampleapi.example.com
|
- VIRTUAL_HOST=sampleapi.example.com
|
||||||
@ -155,7 +155,7 @@ services:
|
|||||||
sample-website:
|
sample-website:
|
||||||
restart: always
|
restart: always
|
||||||
image: sample-website
|
image: sample-website
|
||||||
build: ./sample-containers/website
|
build: ./samples/website
|
||||||
container_name: sample-website
|
container_name: sample-website
|
||||||
volumes:
|
volumes:
|
||||||
- "./volumes/nginx-sample-website/conf.d/:/etc/nginx/conf.d"
|
- "./volumes/nginx-sample-website/conf.d/:/etc/nginx/conf.d"
|
||||||
@ -169,7 +169,7 @@ services:
|
|||||||
```
|
```
|
||||||
The important part here are the environment variables. These are used by the config generator and certificate maintainer containers to set up the system.
|
The important part here are the environment variables. These are used by the config generator and certificate maintainer containers to set up the system.
|
||||||
|
|
||||||
The source code for these two images is in the `sample-containers` subfolder, the images are built from there. In a real-world scenario these images would likely come from a Docker registry.
|
The source code for these two images is in the `samples` subfolder, the images are built from there. In a real-world scenario these images would likely come from a Docker registry.
|
||||||
|
|
||||||
## Conclusion
|
## Conclusion
|
||||||
This can be a fairly simple way to have easy, reproducible deploys for websites with free, auto-renewing TLS certificates.
|
This can be a fairly simple way to have easy, reproducible deploys for websites with free, auto-renewing TLS certificates.
|
||||||
|
@ -40,7 +40,7 @@ services:
|
|||||||
sample-api:
|
sample-api:
|
||||||
restart: always
|
restart: always
|
||||||
image: sample-api
|
image: sample-api
|
||||||
build: ./sample-containers/api
|
build: ./samples/api
|
||||||
container_name: sample-api
|
container_name: sample-api
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=sampleapi.example.com
|
- VIRTUAL_HOST=sampleapi.example.com
|
||||||
@ -52,7 +52,7 @@ services:
|
|||||||
sample-website:
|
sample-website:
|
||||||
restart: always
|
restart: always
|
||||||
image: sample-website
|
image: sample-website
|
||||||
build: ./sample-containers/website
|
build: ./samples/website
|
||||||
container_name: sample-website
|
container_name: sample-website
|
||||||
volumes:
|
volumes:
|
||||||
- "./volumes/nginx-sample-website/conf.d/:/etc/nginx/conf.d"
|
- "./volumes/nginx-sample-website/conf.d/:/etc/nginx/conf.d"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user