-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (41 loc) · 1.19 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: "3.5"
services:
redis:
image: redis:alpine
container_name: instagram-redis
networks:
- fs_networks
webserver:
image: nginx:1.15
container_name: instagram_nginx
working_dir: /var/wwww/html
environment:
- C_FORCE_ROOT=true;
- APPLICATION_ENV=docker
- GOOGLE_APPLICATION_CREDENTIALS=/var/wwww/html/GOOGLE_CREDENTIALS.json
volumes:
- ./:/var/wwww/html
- ./phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "8585:80"
networks:
- fs_networks
php-fpm:
build: phpdocker/php-fpm
container_name: instagram
working_dir: /var/wwww/html
environment:
- C_FORCE_ROOT=true;
- APPLICATION_ENV=docker
- SONAR_AUTH_TOKEN=user:senha
- GOOGLE_APPLICATION_CREDENTIALS=/var/wwww/html/GOOGLE_CREDENTIALS.json
extra_hosts:
- "billing.localhost:172.18.0.3" #ip dinamico p
volumes:
- ./phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/7.2/fpm/pool.d/php-ini-overrides.ini
- ./:/var/wwww/html
networks:
- fs_networks
networks:
fs_networks:
name: fs_networks