-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yml
50 lines (50 loc) · 1006 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
version: '3.8'
services:
app:
build:
context: .
dockerfile: Dockerfile
env_file:
- .env
volumes:
- .:/semart:cached
- cache:/semart/var/cache
- vendor:/semart/vendor
ports:
- "9876:9501"
depends_on:
- session
- db
- messenger
networks:
- app
db:
image: postgres:alpine
environment:
POSTGRES_USER: semart
POSTGRES_PASSWORD: semart
networks:
- app
- db
adminer:
image: adminer:latest
ports:
- "6789:8080"
networks:
- db
session:
image: redis:alpine
networks:
- app
messenger:
image: rabbitmq:management-alpine
ports:
- "12345:15672"
networks:
- app
volumes:
cache:
vendor:
networks:
app: {}
db: {}