Projekt

Obecné

Profil

Stáhnout (1.77 KB) Statistiky
| Větev: | Revize:
1 579f9cdd Tomáš Ballák
version: "3.2"
2
services:
3 f9e48177 Tomáš Ballák
       crawler:
4
                build: './docker/crawler'
5
                depends_on: 
6
                        - database
7
                networks:
8
                        - backend
9
                volumes:
10
                        - ./modules/crawler/:/src
11
                        - ./logs/crawler:/log/
12
                container_name: "heatmap_crawler"
13
                
14 579f9cdd Tomáš Ballák
       php-fpm:
15 f9e48177 Tomáš Ballák
               build: './docker/php-fpm'
16 579f9cdd Tomáš Ballák
               depends_on: 
17
                       - database
18
               networks:
19
                   - backend
20
               ports: 
21
                       - "9000:9000"
22
               volumes:
23 666cada9 Tomáš Ballák
                       - ./website/:/var/www/symfony
24 28926492 ballakt
25 3bae34e0 Tomáš Ballák
               container_name: "heatmap_php_fpm"
26 579f9cdd Tomáš Ballák
       nginx:
27 f9e48177 Tomáš Ballák
               build: './docker/nginx'
28 579f9cdd Tomáš Ballák
               depends_on:
29
                       - php-fpm
30
                       - database
31 f9e48177 Tomáš Ballák
                       - crawler
32 579f9cdd Tomáš Ballák
               networks:
33
                       - frontend
34
                       - backend
35
               ports:
36 666cada9 Tomáš Ballák
                       - "80:80"
37 579f9cdd Tomáš Ballák
               volumes:
38 af43940b Tomáš Ballák
                       - ./logs/nginx:/var/nginx/log
39 666cada9 Tomáš Ballák
                       - ./website/:/var/www/symfony
40 3bae34e0 Tomáš Ballák
               container_name: "heatmap_nginx"
41 579f9cdd Tomáš Ballák
       database:
42
               image: 'mongo'
43 3bae34e0 Tomáš Ballák
               container_name: "heatmap_mongodb"
44 579f9cdd Tomáš Ballák
               restart: always
45
               networks:
46
                       - backend
47
               ports:
48
                       - '27017-27019:27017-27019'
49
               environment:
50
                       MONGO_INITDB_DATABASE: open-data-db
51
                       MONGO_INITDB_ROOT_USERNAME: root
52
                       MONGO_INITDB_ROOT_PASSWORD: root
53
networks:
54
       frontend:
55
       backend: