File tree 2 files changed +8
-9
lines changed
2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
- localhost {
2
- # gzip
1
+ 0.0.0.0 {
2
+ gzip
3
3
log stdout
4
4
errors stdout
5
5
cors
6
6
root /var/www/html
7
- # proxy /api server:8000 {
8
- # header_upstream Accept-Encoding {>Accept-Encoding}
9
- # }
7
+ proxy /api server:8000 {
8
+ header_upstream Accept-Encoding {>Accept-Encoding}
9
+ }
10
10
tls off
11
11
}
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ services:
13
13
- server
14
14
depends_on :
15
15
- server
16
+ # volumes:
17
+ # - ./Caddyfile:/etc/Caddyfile
16
18
17
19
server :
18
20
build :
@@ -21,9 +23,6 @@ services:
21
23
image : prensa
22
24
container_name : " prensa"
23
25
24
- # volumes:
25
- # - backend-observatorio:/data/db
26
-
27
26
command : python /backend-observatorio/production.py
28
27
29
28
ports :
@@ -50,7 +49,7 @@ services:
50
49
- prensamongodata:/data/db
51
50
ports :
52
51
- 27017:27017
53
- command : mongod --wiredTigerCacheSizeGB=2
52
+ command : mongod --wiredTigerCacheSizeGB=1
54
53
# --wiredTigerCacheSizeGB=n limit the amount of ram used to n
55
54
56
55
volumes :
You can’t perform that action at this time.
0 commit comments