This commit is contained in:
emmatveev 2023-11-23 16:43:07 +03:00
parent 3628d62d54
commit 7c702fa280
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ stages:
- mkdir /sprint-data/mongo || true
- mkdir /sprint-data/redis || true
- mkdir /sprint-data/rabbitmq || true
- mkdir /sprint-data/certs
- mkdir /sprint-data/certs || true
- chmod 777 /sprint-data/redis
- chmod 777 /sprint-data/rabbitmq

View File

@ -1,6 +1,7 @@
FROM nginx
RUN apt-get update
RUN apt-get install certbot --yes
RUN apt-get install python3-certbot-nginx --yes
RUN mkdir /etc/allinvest
COPY ./nginx-prod.conf /etc/nginx/nginx.conf
COPY ./privkey.pem /etc/nginx/privkey.pem