-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (43 loc) · 1.19 KB
/
docker-compose.yml
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
version: "3.9"
services:
cache:
image: memcached
ports:
- "11211:11211"
sqlproxy:
image: google/cloud-sdk
ports:
- "5432:5432"
command: |
gcloud compute ssh db-client-1 --project=skyviewer --zone=us-central1-a -- -t -L 0.0.0.0:5432:10.109.178.5:5432
volumes:
- "~/.config/gcloud:/root/.config/gcloud"
craft:
build: ./
depends_on:
- cache
- sqlproxy
ports:
- "8080:8080"
volumes:
- "./craftcms/web:/var/www/html/web"
environment:
- PORT=8080
- APP_ID=CraftCMS--d337aaa2-c2ae-4cfb-9b3d-fe0c268ff065
- CP_TRIGGER=admin
- DB_DRIVER=pgsql
- DB_SERVER=sqlproxy
- DB_PORT=5432
- DB_DATABASE=skyviewer
- DB_USER=skyviewer
- DB_PASSWORD
- DB_SCHEMA=public
- ENABLE_MEMCACHED=true
- ENVIRONMENT=dev
- GCP_PROJECT_ID=skyviewer
- GCS_ASSET_BUCKET=https://storage.googleapis.com/craft-test-erosas
- MEMCACHED_IP=cache
- MEMCACHED_PORT=11211
- PRIMARY_SITE_URL=http://localhost:8080
- SECURITY_KEY
restart: always