-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose-build.yml
More file actions
43 lines (41 loc) · 912 Bytes
/
compose-build.yml
File metadata and controls
43 lines (41 loc) · 912 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
services:
reverse-proxy:
container_name: reverse-proxy
build:
context: ./reverse-proxy
dockerfile: Dockerfile
ports:
- 80:80
- 443:443
volumes:
- logs:/var/log/nginx
- conf:/etc/nginx/conf.d
- certs:/etc/nginx/certs
- scripts:/opt/scripts
restart: unless-stopped
web-manager:
container_name: web-manager
build:
context: ./web-manager
dockerfile: Dockerfile
environment:
- SSL_COUNTRY=FR
- SSL_STATE=France
- SSL_CITY=Noisy-le-Grand
- SSL_ORGANIZATION_GLOBAL=ESIEE Paris
- SSL_ORGANIZATION_UNIT=Club*Nix
- SSL_DAYS=365
ports:
- 5000:5000
volumes:
- logs:/app/nginx/logs
- conf:/app/nginx/conf.d
- certs:/app/nginx/certs
- scripts:/app/scripts
- ./logs:/app/logs
restart: unless-stopped
volumes:
logs:
conf:
certs:
scripts: