-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (32 loc) · 898 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM umputun/nginx-le:latest
MAINTAINER Bulat Khasanov <[email protected]>
VOLUME ["./etc/ssl:/etc/nginx/ssl", "./conf.d/default.conf:/etc/nginx/service.conf"]
ENV TZ=America/Chicago \
LETSENCRYPT=true \
LE_FQDN=jatumba.ru,www.jatumba.ru
#RUN rm /etc/nginx/conf.d/default.conf
#COPY conf.d/nginx /etc/nginx/conf.d
#COPY nginx.conf /etc/nginx/
#version: '2'
#services:
# nginx:
# build: .
# image:
# hostname: nginx
# restart: always
# container_name: nginx
#
# logging:
# driver: json-file
# options:
# max-size: "10m"
# max-file:
#
# environment:
# - TZ=America/Chicago
# - LETSENCRYPT=true
# - LE_FQDN=www.example.com
# #- SSL_CERT=le-crt.pem
# #- SSL_KEY=le-key.pem