This repository was archived by the owner on Sep 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yaml
More file actions
63 lines (58 loc) · 1.48 KB
/
docker-compose.dev.yaml
File metadata and controls
63 lines (58 loc) · 1.48 KB
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
version: '3.7'
x-common-variables: &common-variables
REDIS_URL_NET: redis://redis:6379
services:
github_api:
container_name: gh_api-dev
image: gh_api
build:
context: ./api
dockerfile: Dockerfile
environment:
<<: *common-variables
APP_ENV: development
PYTHONPATH: /api/modules
GITHUB_API: https://api.github.com
GITHUB_TRENDING_URL: https://github.com/trending
X_GUNICORN_PORT: 2064
volumes:
- ./api:/api
ports:
- "5064:2064"
networks:
- web-dev
depends_on:
- redis
github_web:
container_name: gh_client_side-dev
image: gh_client_side
build:
context: ./client
dockerfile: Dockerfile-dev
ports:
- "8089:8089"
environment:
<<: *common-variables
GITHUB_API_NET: http://github_api:2064
depends_on:
- github_api
volumes:
- ./client:/client
networks:
- web-dev
stdin_open: true
tty: true
redis:
image: redis:6.0-rc2
container_name: redis-cache-dev
command: ["redis-server", "--appendonly", "yes"]
expose:
- 6379
networks:
- web-dev
volumes:
- redis-data-dev:/data
networks:
web-dev:
volumes:
redis-data-dev: