-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (51 loc) · 1.05 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
version: '3'
services:
postgres:
image: 'postgres:10.3-alpine'
volumes:
- 'postgres:/var/lib/postgresql/data'
env_file:
- '.env'
redis:
image: 'redis:4.0-alpine'
command: redis-server
volumes:
- 'redis:/data'
ports:
- 9379:6379
core:
build:
context: .
dockerfile: ./docker/core/Dockerfile
depends_on:
- 'postgres'
- 'redis'
volumes:
- '.:/var/www/avispa-start'
env_file:
- '.env'
# worker:
# build:
# context: .
# dockerfile: ./docker/api/Dockerfile
# depends_on:
# - 'postgres'
# - 'redis'
# command: sidekiq -c 2 -v -q default -q mailer -q priority
# volumes:
# - '.:/var/www/hbt-api'
# env_file:
# - '.env'
# environment:
# - REDIS_URL=redis://redis:6379/0
# web:
# build:
# context: .
# dockerfile: ./docker/web/Dockerfile
# depends_on:
# - core
# ports:
# - 80:80
volumes:
redis:
postgres: