-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTiltfile
42 lines (38 loc) · 1.63 KB
/
Tiltfile
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
# Primary Docker Compose Imports
docker_compose(["./docker-compose.yml"])
# Accounts GraphQL
docker_build('career-cue/accounts-graphql', '.',
dockerfile="./apps/services/accounts-graphql/Dockerfile",
live_update = [
sync('./apps/services/accounts-graphql', '/app'),
run('air --build.cmd "go build -o /bin/accounts-graphql ./apps/services/accounts-graphql/cmd/server/main.go" --build.bin "/bin/accounts-graphql"'),
restart_container()
]
)
# Accounts API
docker_build('career-cue/accounts-api', '.',
dockerfile="./apps/services/accounts-api/Dockerfile",
live_update = [
sync('./apps/services/accounts-api', '/app'),
run('air --build.cmd "go build -o /bin/accounts-api ./apps/services/accounts-api/cmd/server/main.go" --build.bin "/bin/accounts-api"'),
restart_container()
]
)
# Accounts Worker
docker_build('career-cue/accounts-worker', '.',
dockerfile="./apps/services/accounts-worker/Dockerfile",
live_update = [
sync('./apps/services/accounts-worker', '/app'),
run('air --build.cmd "go build -o /bin/accounts-worker ./apps/services/accounts-worker/cmd/server/main.go" --build.bin "/bin/accounts-worker"'),
restart_container()
]
)
# Inbound Webhooks API
docker_build('career-cue/inbound-webhooks-api', '.',
dockerfile="./apps/services/inbound-webhooks-api/Dockerfile",
live_update = [
sync('./apps/services/inbound-webhooks-api', '/app'),
run('air --build.cmd "go build -o /bin/inbound-webhooks-api ./apps/services/inbound-webhooks-api/cmd/server/main.go" --build.bin "/bin/inbound-webhooks-api"'),
restart_container()
]
)