Projekt

Obecné

Profil

Stáhnout (1.84 KB) Statistiky
| Větev: | Revize:
1 6f6156eb ballakt
version: "3.2"
2
services:
3 28926492 ballakt
       py-charm:
4
                build:
5
                        context: ./python-module
6
                        dockerfile: '../build/php-fpm/dev/Dockerfile'
7
                ports: 
8
                        - "9001:9000"
9
                volumes: 
10
                        - ./python-module:/var/python-module
11
 
12
                container_name: "heatmap_py_charm"
13 6f6156eb ballakt
       php-fpm:
14 28926492 ballakt
               build: ./build/php-fpm/dev/
15 6f6156eb ballakt
               depends_on: 
16
                       - database
17
               ports: 
18 28926492 ballakt
                       - "9000:9000"
19 6f6156eb ballakt
               volumes:
20
                       - ./website/:/var/www/symfony
21 28926492 ballakt
                       - ./python-module:/var/python-module
22 6f6156eb ballakt
               container_name: "heatmap_php_fpm"
23
               environment:
24
                       XDEBUG_CONFIG: remote_host=172.17.0.1 #your docker network i TODO:NOT WORKING
25
       nginx:
26
               build: './build/nginx'
27
               depends_on:
28
                       - php-fpm
29
                       - database
30
               ports:
31
                       - "80:80"
32
               volumes:
33 1f77dd64 ballakt
                       - ./logs/nginx:/var/log/nginx
34 6f6156eb ballakt
                       - ./website/:/var/www/symfony
35
               container_name: "heatmap_nginx"
36
       database:
37
               image: 'mongo'
38
               container_name: "heatmap_mongodb"
39
               restart: always
40
               ports:
41
                       - '27017-27019:27017-27019'
42
              
43
               environment:
44
                       MONGO_INITDB_DATABASE: open-data-db
45
                       MONGO_INITDB_ROOT_USERNAME: root
46
                       MONGO_INITDB_ROOT_PASSWORD: root
47
               volumes:
48 3fc08f2d vastja
                        - data-db:/data/db
49
                        - ./dev-dump:/dev-dump
50
                        
51
volumes:
52
    data-db: