mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 01:14:53 +03:00
Merge 2688a59471
into b1fb6ed2d0
This commit is contained in:
commit
f4c56ab352
|
@ -3,3 +3,10 @@ RUN mkdir -p /etc/traefik/acme
|
||||||
RUN touch /etc/traefik/acme/acme.json
|
RUN touch /etc/traefik/acme/acme.json
|
||||||
RUN chmod 600 /etc/traefik/acme/acme.json
|
RUN chmod 600 /etc/traefik/acme/acme.json
|
||||||
COPY ./compose/production/traefik/traefik.yml /etc/traefik
|
COPY ./compose/production/traefik/traefik.yml /etc/traefik
|
||||||
|
|
||||||
|
RUN addgroup -g 101 -S traefik
|
||||||
|
RUN adduser -S -D -H -u 101 -s /sbin/nologin -G traefik -g traefik traefik
|
||||||
|
RUN chown -R traefik /etc/traefik
|
||||||
|
|
||||||
|
USER traefik
|
||||||
|
EXPOSE 8080/tcp 8443/tcp
|
||||||
|
|
|
@ -4,11 +4,11 @@ log:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
web:
|
web:
|
||||||
# http
|
# http
|
||||||
address: ":80"
|
address: ":8080"
|
||||||
|
|
||||||
web-secure:
|
web-secure:
|
||||||
# https
|
# https
|
||||||
address: ":443"
|
address: ":8443"
|
||||||
|
|
||||||
certificatesResolvers:
|
certificatesResolvers:
|
||||||
letsencrypt:
|
letsencrypt:
|
||||||
|
|
|
@ -40,8 +40,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- production_traefik:/etc/traefik/acme
|
- production_traefik:/etc/traefik/acme
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:80:80"
|
- "0.0.0.0:80:8080"
|
||||||
- "0.0.0.0:443:443"
|
- "0.0.0.0:443:8443"
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:5.0
|
image: redis:5.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user