-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (47 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
51 lines (47 loc) · 1.04 KB
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
51
services:
proxy:
image: jwilder/nginx-proxy
ports:
- '80:80'
- '443:443'
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- certs:/etc/nginx/certs:ro
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
environment:
- DEFAULT_HOST=${DOMAIN}
networks:
- neyrowz-website
restart: always
letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
environment:
- DEFAULT_EMAIL=${EMAIL}
volumes_from:
- proxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- certs:/etc/nginx/certs
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
networks:
- neyrowz-website
restart: always
website:
image: ghcr.io/neyrowz/neyrowz.dev:latest
environment:
- VIRTUAL_HOST=${DOMAIN}
- LETSENCRYPT_HOST=${DOMAIN}
- LETSENCRYPT_EMAIL=${EMAIL}
ports:
- '4000:80'
networks:
- neyrowz-website
restart: always
volumes:
certs:
vhost:
html:
networks:
neyrowz-website: