Revert "nginx via docker isn't playing nicely"

This reverts commit bb41a7ccfdec95e37b659bc74bf68b838258c0f3.

Hopefully this enough to let nginx drive this
pull/6/head
Matthew Strasiotto 4 years ago
parent fe366f04f7
commit ac100500a3

@ -1,5 +1,8 @@
version: '2'
services:
nginx:
environment:
- URL=a_url_unused
tty-proxy:
environment:
- URL=tty.example.com

@ -1,24 +1,18 @@
version: '2'
services:
# nginx:
# image: nginx:latest
# build: ./nginx/
# container_name: webserver
# volumes:
# - ./nginx/:/etc/nginx/
# - ./nginx/log/:/var/log/nginx/
# - /etc/letsencrypt/:/etc/letsencrypt/
# ports:
# - "80:80"
# - "443:443"
# - "3456:3456"
# command: [nginx-debug, '-g', 'daemon off;']
nginx:
build: ./nginx/
container_name: webserver
volumes:
- ./nginx/:/etc/nginx/
- ./nginx/log/:/var/log/nginx/
- /etc/letsencrypt/:/etc/letsencrypt/
ports:
- 80:80
- 443:443
- 3456:3456
tty-proxy:
container_name: tty-proxy
build: ./
ports:
- "8080:8080"
- "6969:3456"
cap_drop:
- ALL
- 8080:8080

Loading…
Cancel
Save