|
|
@@ -27,10 +27,25 @@ services:
|
|
27
|
27
|
depends_on:
|
|
28
|
28
|
- postgres
|
|
29
|
29
|
|
|
30
|
|
- frontend:
|
|
|
30
|
+ frontpod:
|
|
31
|
31
|
image: devops.vespot.co:5000/factorytracefront:lahelice
|
|
32
|
32
|
restart: always
|
|
33
|
33
|
ports:
|
|
34
|
|
- - "8080:80"
|
|
|
34
|
+ - "80:80"
|
|
35
|
35
|
depends_on:
|
|
36
|
36
|
- restpod
|
|
|
37
|
+
|
|
|
38
|
+ webserver:
|
|
|
39
|
+ image: nginx:latest
|
|
|
40
|
+ ports:
|
|
|
41
|
+ - 80:80
|
|
|
42
|
+ - 443:443
|
|
|
43
|
+ restart: always
|
|
|
44
|
+ volumes:
|
|
|
45
|
+ - ./nginx/conf/:/etc/nginx/conf.d/:ro
|
|
|
46
|
+ - ./certbot/www/:/var/www/certbot/:ro
|
|
|
47
|
+ certbot:
|
|
|
48
|
+ image: certbot/certbot:latest
|
|
|
49
|
+ volumes:
|
|
|
50
|
+ - ./certbot/www/:/var/www/certbot/:rw
|
|
|
51
|
+ - ./certbot/conf/:/etc/letsencrypt/:rw
|