Finish a working example.
This commit is contained in:
@@ -4,13 +4,12 @@
|
||||
# https://phoenixnap.com/kb/docker-nginx-reverse-proxy
|
||||
# https://www.docker.com/blog/how-to-use-the-official-nginx-docker-image/
|
||||
|
||||
version: '2'
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: nginx
|
||||
build: .
|
||||
restart: always
|
||||
build: ./
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
|
Reference in New Issue
Block a user