Projekt

Obecné

Profil

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