forked from TweaXy/backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
28 lines (28 loc) · 906 Bytes
/
docker-compose.yml
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
version: '3.6'
services:
backend:
stdin_open: true
tty: true
image: '$DOCKER_USER/backend:$BUILD_ID'
container_name: node-js
ports:
- '80:80'
- '443:443'
volumes:
- './certbot/data:/usr/share/nginx/html/letsencrypt'
- './certbot/conf:/etc/nginx/ssl'
logging:
driver: awslogs
options:
awslogs-region: eu-north-1
awslogs-group: backend_logs
networks:
- net
certbot:
image: certbot/certbot:latest
command: certonly --webroot --webroot-path=/usr/share/nginx/html/letsencrypt --email [email protected] --agree-tos --no-eff-email -d tweaxybackend.mywire.org
volumes:
- './certbot/conf:/etc/letsencrypt'
- './certbot/data:/usr/share/nginx/html/letsencrypt'
networks:
net: