-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
51 lines (46 loc) · 952 Bytes
/
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
version: '3'
services:
mariadb:
image: mariadb:latest
container_name: mariadb
expose:
- 3306
env_file:
- stack.env
volumes:
- raptor-db:/var/lib/mysql/
rabbitmq:
image: rabbitmq:latest
container_name: rabbitmq
expose:
- 5672
raptorapp:
image: zediious/raptor-web:latest
container_name: raptorapp
expose:
- 80
env_file:
- stack.env
volumes:
- raptor-media:/raptorWebApp/raptorWeb/media
- raptor-conf:/raptorWebApp/docker/nginx/conf.d/
- raptor-logs:/raptorWebApp/logs
- ./stack.env:/raptorWebApp/stack.env
depends_on:
- mariadb
- rabbitmq
nginx:
image: nginx:latest
container_name: nginx
ports:
- 443:443
volumes:
- raptor-media:/raptor_app/media
- raptor-conf:/etc/nginx/conf.d/
depends_on:
- raptorapp
volumes:
raptor-db:
raptor-conf:
raptor-media:
raptor-logs: