-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 866 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 866 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
43
44
version: "3.3"
services:
queue:
image: redis
ports:
- 6379:6379
backend:
image: '${DOCKER_IMAGE_BACKEND}:${TAG-latest}'
env_file:
- .env
environment:
- SERVER_NAME=${DOMAIN}
- SERVER_HOST=https://${DOMAIN}
build:
context: .
dockerfile: Dockerfile
args:
INSTALL_DEV: ${INSTALL_DEV-false}
depends_on:
- queue
ports:
- 80:80
volumes:
- ./yatsm:/app/yatsm
worker:
image: '${DOCKER_IMAGE_BACKEND}:${TAG-latest}'
env_file:
- .env
environment:
- SERVER_NAME=${DOMAIN}
- SERVER_HOST=https://${DOMAIN}
build:
context: .
dockerfile: Dockerfile
args:
INSTALL_DEV: ${INSTALL_DEV-false}
command: "dramatiq yatsm.jobs:redis_broker -v"
depends_on:
- queue
volumes:
- ./yatsm:/app/yatsm