-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (41 loc) · 836 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (41 loc) · 836 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
40
41
42
version: "3"
services:
# nginx:
# image: nginx:latest
## container_name: ng01
## ports:
## - "80:5000"
# volumes:
# - ./config/nginx:/etc/nginx/conf.d
# depends_on:
# - dash-app
redis:
image: "redis:alpine"
# ports:
# - "6379:6379"
volumes:
- ./config/redis/data:/data
- ./config/redis/redis.conf:/usr/local/etc/redis.conf
command: redis-server /usr/local/etc/redis.conf
data:
env_file:
- ./.env
build:
context: .
dockerfile: docker/data/Dockerfile
depends_on:
- redis
volumes:
- ./docker/data:/code
dash-app:
env_file:
- ./.env
build:
context: .
dockerfile: ./docker/dash_app/Dockerfile
depends_on:
- redis
volumes:
- ./docker/dash_app:/code
ports:
- "5000:5000"