This commit is contained in:
emmatveev 2023-11-23 16:33:51 +03:00
parent 2c35d9d49e
commit 3628d62d54
2 changed files with 3 additions and 0 deletions

View File

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

View File

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