Projekt

Obecné

Profil

Stáhnout (2.1 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
               networks:
18
                   - backend
19
               ports: 
20 28926492 ballakt
                       - "9000:9000"
21 6f6156eb ballakt
               volumes:
22
                       - ./website/:/var/www/symfony
23 28926492 ballakt
                       - ./python-module:/var/python-module
24 6f6156eb ballakt
               container_name: "heatmap_php_fpm"
25
               environment:
26
                       XDEBUG_CONFIG: remote_host=172.17.0.1 #your docker network i TODO:NOT WORKING
27
       nginx:
28
               build: './build/nginx'
29
               depends_on:
30
                       - php-fpm
31
                       - database
32
               networks:
33
                       - frontend
34
                       - backend
35
               ports:
36
                       - "80:80"
37
               volumes:
38 1f77dd64 ballakt
                       - ./logs/nginx:/var/log/nginx
39 6f6156eb ballakt
                       - ./website/:/var/www/symfony
40
               container_name: "heatmap_nginx"
41
       database:
42
               image: 'mongo'
43
               container_name: "heatmap_mongodb"
44
               restart: always
45
               networks:
46
                       - backend
47
               ports:
48
                       - '27017-27019:27017-27019'
49
              
50
               environment:
51
                       MONGO_INITDB_DATABASE: open-data-db
52
                       MONGO_INITDB_ROOT_USERNAME: root
53
                       MONGO_INITDB_ROOT_PASSWORD: root
54
               volumes:
55 3fc08f2d vastja
                        - data-db:/data/db
56
                        - ./dev-dump:/dev-dump
57
                        
58
volumes:
59
    data-db:
60
    
61 6f6156eb ballakt
networks:
62
       frontend:
63
       backend: