-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (57 loc) · 1.36 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
56
57
58
59
60
61
62
63
version: '3.5'
services:
app:
build: ./docker/php/
working_dir: /var/www
environment:
TIMEZONE: Europe/Kiev
DATABASE_URL: pgsql://postgres:spacebar@database:5432/spacebar
ENQUEUE_DSN: amqp://guest:guest@queue:5672/%2f
volumes:
- .:/var/www:cached
depends_on:
- database
networks:
- webnet
composer:
image: composer:latest
volumes:
- .:/var/www
working_dir: /var/www
depends_on:
- app
command: install
web:
image: nginx:alpine
volumes:
- ./docker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
- ./public:/var/www/public:ro
depends_on:
- app
ports:
- 8090:80
networks:
- webnet
database:
image: postgres:alpine
#volumes:
# - ./database:/docker-entrypoint-initdb.d
environment:
POSTGRES_PASSWORD: spacebar
networks:
- webnet
queue:
image: rabbitmq:management-alpine
ports:
- 5672:5672
- 15672:15672
networks:
- webnet
adminer:
image: adminer
ports:
- 8089:8080
networks:
- webnet
networks:
webnet: