-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose-core.yml
More file actions
40 lines (37 loc) · 790 Bytes
/
Copy pathcompose-core.yml
File metadata and controls
40 lines (37 loc) · 790 Bytes
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
services:
backend:
build:
context: .
dockerfile: api/Dockerfile
image: joelmathewthomas/freqsplit-api:latest
container_name: freqsplit-api
depends_on:
- redis
networks:
- freqnet
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/ping"]
interval: 5s
timeout: 3s
retries: 24
redis:
image: redis:7
container_name: freqsplit-redis
networks:
- freqnet
frontend:
build:
context: .
dockerfile: client/Dockerfile
image: joelmathewthomas/freqsplit-client:latest
container_name: freqsplit-client
ports:
- "80:80"
networks:
- freqnet
depends_on:
backend:
condition: service_healthy
networks:
freqnet:
driver: bridge