-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecs-task-definition.json
50 lines (50 loc) · 1.25 KB
/
ecs-task-definition.json
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
43
44
45
46
47
48
49
50
name: demo
services:
fpm:
build:
context: /home/muneer/Desktop/Symfony/demo/docker
dockerfile: Dockerfile-php
container_name: demo_php
environment:
PHP_IDE_CONFIG: serverName=symfony-docker
XDEBUG_CONFIG: client_host=host.docker.internal client_port=9003 start_with_request=yes log_level=7 log=/tmp/xdebug.log
XDEBUG_MODE: debug
XDEBUG_SESSION_START: "1"
expose:
- "9003"
extra_hosts:
- host.docker.internal=host-gateway
networks:
app_network: null
volumes:
- type: bind
source: /home/muneer/Desktop/Symfony/demo
target: /var/www/demo
bind:
create_host_path: true
nginx:
build:
context: /home/muneer/Desktop/Symfony/demo/docker
dockerfile: Dockerfile-nginx
container_name: demo_nginx
depends_on:
fpm:
condition: service_started
required: true
networks:
app_network: null
ports:
- mode: ingress
target: 80
published: "8080"
protocol: tcp
volumes:
- type: bind
source: /home/muneer/Desktop/Symfony/demo
target: /var/www/demo
bind:
create_host_path: true
networks:
app_network:
name: demo_app_network
driver: bridge