-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (47 loc) · 1.04 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '3'
services:
nginx:
build: .
image: umputun/nginx-le:latest
hostname: nginx
restart: always
container_name: nginx
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
volumes:
- ./etc/ssl:/etc/nginx/ssl
- ./etc/service-borodin.site.conf:/etc/nginx/service.conf
ports:
- "80:80"
- "443:443"
environment:
- TZ=UTC
- LETSENCRYPT=true
- LE_FQDN=borodin.site
#- SSL_CERT=le-crt.pem
#- SSL_KEY=le-key.pem
#- SSL_CHAIN_CERT=le-chain-crt.pem
personal-site:
image: borodindmitriy/borodin.site
restart: always
ports:
- "127.0.0.1:3000:3000"
expose:
- "3000"
ipsec-vpn-server:
image: hwdsl2/ipsec-vpn-server
restart: always
privileged: true
ports:
- "500:500/udp"
- "4500:4500/udp"
expose:
- "500/udp"
- "4500/udp"
volumes:
- "/lib/modules:/lib/modules:ro"
- "../vpn.env:/opt/src/vpn.env:ro"