We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad7a9bf commit c796365Copy full SHA for c796365
compose.init.yml
@@ -0,0 +1,32 @@
1
+version: "3.8"
2
+
3
+services:
4
+ nginx:
5
+ image: nginx:alpine
6
+ restart: always
7
+ ports:
8
+ - "80:80"
9
+ volumes:
10
+ - ./services/nginx/conf.d/prod_nginx_init.conf:/etc/nginx/conf.d/default.conf
11
+ - ./data/certbot/www:/var/www/certbot
12
+ networks:
13
+ - frontend
14
15
+ certbot:
16
+ image: certbot/certbot:latest
17
18
+ - ./data/certbot/conf:/etc/letsencrypt
19
20
+ - ./data/certbot/log:/var/log/letsencrypt
21
+ command: >
22
+ certonly --webroot
23
+ --webroot-path=/var/www/certbot
24
+ --email [email protected]
25
+ --agree-tos
26
+ --no-eff-email
27
+ -d octodocs.com
28
+ -d www.octodocs.com
29
30
+networks:
31
+ frontend:
32
+ driver: bridge
0 commit comments