/
docker-compose.yml
67 lines (62 loc) · 1.5 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: "3"
services:
api:
build:
context: api
dockerfile: Dockerfile.dev
extra_hosts:
- "host.docker.internal:host-gateway"
container_name: radiopanel-api
volumes:
- ./api:/app:delegated
- ./uploads:/app/uploads:delegated
env_file:
- .env
ports:
- 3050:3050
- 9229:9229
networks:
- radiopanel
app:
build:
context: app
dockerfile: Dockerfile.dev
extra_hosts:
- "host.docker.internal:host-gateway"
container_name: radiopanel-app
volumes:
- ./app:/app:delegated
ports:
- 3051:3051
networks:
- radiopanel
postgres:
image: "postgres:12.3-alpine"
container_name: postgres
environment:
POSTGRES_DB: radiopanel
POSTGRES_USER: localuser
POSTGRES_PASSWORD: EHajqEuoPG8wCxfcQRpz
PGDATA: /data/db
ports:
- 5432:5432
volumes:
- ./data:/data/db
networks:
- radiopanel
redis:
image: redis:6.0.6-alpine
container_name: redis
ports:
- 6379:6379
command: ["redis-server", "--appendonly", "yes"]
volumes:
- redis-data:/data
networks:
- radiopanel
volumes:
postgres-data:
redis-data:
elastic-data:
networks:
radiopanel: