-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (40 loc) · 957 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (40 loc) · 957 Bytes
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: '3'
services:
app:
build: ./app
container_name: app
ports:
- "80:3000"
- "3000:3000"
- "443:443"
restart: always
volumes:
- certbot-webroot-rob:/app/public/.well-known
- certbot-letsencrypt:/etc/letsencrypt
certbot:
build: ./certbot
container_name: certbot
# ports:
# - "80:80"
restart: always
volumes:
- certbot-webroot-rob:/webroots/robsimplenodeapp.tk/.well-known
- certbot-letsencrypt:/etc/letsencrypt
volumes:
certbot-webroot-rob:
certbot-letsencrypt:
# version: '3.1'
# services:
# letsencrypt-nginx-container:
# container_name: 'letsencrypt-nginx-container'
# image: nginx:latest
# ports:
# - "80:80"
# volumes:
# - ./nginx.conf:/etc/nginx/conf.d/default.conf
# - ./letsencrypt-site:/usr/share/nginx/html
# networks:
# - docker-network
# networks:
# docker-network:
# driver: bridge