1 |
579f9cdd
|
Tomáš Ballák
|
version: "3.2"
|
2 |
|
|
services:
|
3 |
b332d98a
|
ballakt
|
crawler:
|
4 |
|
|
build:
|
5 |
|
|
context: ./modules/crawler
|
6 |
|
|
dockerfile: ../../docker/crawler/Dockerfile
|
7 |
|
|
|
8 |
|
|
depends_on:
|
9 |
|
|
- database
|
10 |
|
|
networks:
|
11 |
|
|
- backend
|
12 |
|
|
volumes:
|
13 |
|
|
- ./modules/crawler/:/src
|
14 |
|
|
- ./logs/crawler:/log/
|
15 |
|
|
container_name: "heatmap_crawler"
|
16 |
dfcface9
|
Tomáš Ballák
|
environment:
|
17 |
|
|
- TZ=Europe/Prague
|
18 |
b332d98a
|
ballakt
|
|
19 |
579f9cdd
|
Tomáš Ballák
|
php-fpm:
|
20 |
b332d98a
|
ballakt
|
build: './docker/php-fpm'
|
21 |
579f9cdd
|
Tomáš Ballák
|
depends_on:
|
22 |
|
|
- database
|
23 |
|
|
ports:
|
24 |
|
|
- "9000:9000"
|
25 |
|
|
volumes:
|
26 |
666cada9
|
Tomáš Ballák
|
- ./website/:/var/www/symfony
|
27 |
28926492
|
ballakt
|
|
28 |
3bae34e0
|
Tomáš Ballák
|
container_name: "heatmap_php_fpm"
|
29 |
63d9aa50
|
Tomáš Ballák
|
networks:
|
30 |
|
|
- backend
|
31 |
579f9cdd
|
Tomáš Ballák
|
nginx:
|
32 |
b332d98a
|
ballakt
|
build: './docker/nginx'
|
33 |
579f9cdd
|
Tomáš Ballák
|
depends_on:
|
34 |
|
|
- php-fpm
|
35 |
|
|
- database
|
36 |
b332d98a
|
ballakt
|
- crawler
|
37 |
579f9cdd
|
Tomáš Ballák
|
networks:
|
38 |
|
|
- frontend
|
39 |
|
|
- backend
|
40 |
|
|
ports:
|
41 |
666cada9
|
Tomáš Ballák
|
- "80:80"
|
42 |
579f9cdd
|
Tomáš Ballák
|
volumes:
|
43 |
b332d98a
|
ballakt
|
- ./logs/nginx:/var/nginx/log
|
44 |
666cada9
|
Tomáš Ballák
|
- ./website/:/var/www/symfony
|
45 |
a60193de
|
ballakt
|
- ./docker/nginx/sites:/etc/nginx/sites-available
|
46 |
|
|
|
47 |
3bae34e0
|
Tomáš Ballák
|
container_name: "heatmap_nginx"
|
48 |
579f9cdd
|
Tomáš Ballák
|
database:
|
49 |
|
|
image: 'mongo'
|
50 |
3bae34e0
|
Tomáš Ballák
|
container_name: "heatmap_mongodb"
|
51 |
579f9cdd
|
Tomáš Ballák
|
restart: always
|
52 |
41e15750
|
Tomáš Ballák
|
networks:
|
53 |
|
|
- backend
|
54 |
579f9cdd
|
Tomáš Ballák
|
ports:
|
55 |
|
|
- '27017-27019:27017-27019'
|
56 |
|
|
environment:
|
57 |
|
|
MONGO_INITDB_DATABASE: open-data-db
|
58 |
|
|
MONGO_INITDB_ROOT_USERNAME: root
|
59 |
|
|
MONGO_INITDB_ROOT_PASSWORD: root
|
60 |
627da34b
|
Tomáš Ballák
|
volumes:
|
61 |
|
|
- data-db:/data/db
|
62 |
|
|
- ./dev-dump:/dev-dump
|
63 |
579f9cdd
|
Tomáš Ballák
|
networks:
|
64 |
|
|
frontend:
|
65 |
|
|
backend:
|
66 |
627da34b
|
Tomáš Ballák
|
|
67 |
|
|
|
68 |
|
|
volumes:
|
69 |
|
|
data-db:
|