forked from Pararius/casco-job-interview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
39 lines (35 loc) · 945 Bytes
/
docker-compose.yaml
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
version: '3.7'
services:
php:
image: ghcr.io/pararius/office-job-interview:latest
environment:
COMPOSER_CACHE_DIR: '/app/var/cache/composer'
volumes:
- ./:/app:delegated
networks:
- app
pubsub:
image: eu.gcr.io/google.com/cloudsdktool/cloud-sdk:emulators
command: ["gcloud", "beta", "emulators", "pubsub", "start", "--host-port=0.0.0.0:8081"]
healthcheck:
test: "curl --fail -s -o /dev/null localhost:8081"
start_period: 20s
interval: 2s
timeout: 5s
retries: 5
networks:
- app
firestore:
image: eu.gcr.io/google.com/cloudsdktool/cloud-sdk:emulators
command: ["gcloud", "beta", "emulators", "firestore", "start", "--host-port=0.0.0.0:8081"]
healthcheck:
test: "curl --fail -s -o /dev/null localhost:8081"
start_period: 20s
interval: 2s
timeout: 5s
retries: 5
networks:
- app
networks:
app:
name: app