Projekt

Obecné

Profil

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