This repository was archived by the owner on Oct 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +0
-118
lines changed Expand file tree Collapse file tree 5 files changed +0
-118
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,8 @@ script:
40
40
- curl -k https://localhost
41
41
- docker build -t gcr.io/$GCLOUD_PROJECT/php -t gcr.io/$GCLOUD_PROJECT/php:latest symfony
42
42
- docker build -t gcr.io/$GCLOUD_PROJECT/nginx -t gcr.io/$GCLOUD_PROJECT/nginx:latest -f symfony/Dockerfile.nginx symfony
43
- - docker build -t gcr.io/$GCLOUD_PROJECT/varnish -t gcr.io/$GCLOUD_PROJECT/varnish:latest -f symfony/Dockerfile.varnish symfony
44
43
- gcloud container clusters get-credentials cluster-1 --zone europe-west1-c --project $GCLOUD_PROJECT
45
44
- gcloud docker -- push gcr.io/$GCLOUD_PROJECT/php
46
45
- gcloud docker -- push gcr.io/$GCLOUD_PROJECT/nginx
47
- - gcloud docker -- push gcr.io/$GCLOUD_PROJECT/varnish
48
46
- linux-amd64/helm del --purge symfony-4-docker-runtime-env
49
47
- linux-amd64/helm install helm/symfony --namespace symfony --name symfony-4-docker-runtime-env
Original file line number Diff line number Diff line change @@ -32,19 +32,6 @@ services:
32
32
volumes :
33
33
- ./symfony/public:/srv/symfony/public:ro
34
34
35
- cache-proxy :
36
- build :
37
- context : ./symfony/
38
- dockerfile : ./Dockerfile.varnish
39
- container_name : cache-proxy
40
- depends_on :
41
- - symfony
42
- # Comment out this volume in production
43
- volumes :
44
- - ./symfony/docker/varnish/conf:/etc/varnish:ro
45
- ports :
46
- - " 8081:80"
47
-
48
35
postgres :
49
36
# In production, you may want to use a managed database service
50
37
image : postgres:9.6-alpine
@@ -105,11 +92,9 @@ services:
105
92
container_name : h2-proxy
106
93
depends_on :
107
94
- symfony
108
- - cache-proxy
109
95
ports :
110
96
- " 80:80"
111
97
- " 443:443"
112
- - " 8443:8443"
113
98
114
99
volumes :
115
100
db-data : {}
Original file line number Diff line number Diff line change @@ -19,20 +19,3 @@ server {
19
19
proxy_set_header X-Forwarded-Port 443;
20
20
}
21
21
}
22
-
23
- server {
24
- listen 8443 ssl http2;
25
- listen [::]:8443 ssl http2;
26
-
27
- ssl_certificate /etc/nginx/ssl/cert.crt;
28
- ssl_certificate_key /etc/nginx/ssl/cert.key;
29
-
30
- location / {
31
- proxy_pass http://cache-proxy;
32
- proxy_http_version 1.1;
33
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
34
- proxy_set_header X-Forwarded-Host $host;
35
- proxy_set_header X-Forwarded-Proto $scheme;
36
- proxy_set_header X-Forwarded-Port 8444;
37
- }
38
- }
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments