adding in initial nginx docker
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
version: '3.3'
|
||||
networks:
|
||||
nginx:
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
restart: unless-stopped
|
||||
container_name: caddy
|
||||
ports:
|
||||
- 5000:5000 # container registry
|
||||
- 80:80 # kubernetes - hello world
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./src/index.html:/usr/share/nginx/html/index.html
|
||||
networks:
|
||||
- nginx
|
||||
|
||||
registry:
|
||||
image: registry:2
|
||||
restart: unless-stopped
|
||||
container_name: registry
|
||||
ports:
|
||||
- 5000:5000
|
||||
volumes:
|
||||
- /mnt/registry:/var/lib/registry
|
||||
networks:
|
||||
- nginx
|
||||
Reference in New Issue
Block a user