-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
57 lines (53 loc) · 1.04 KB
/
docker-compose.yaml
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
51
52
53
54
55
56
57
version: '3'
services:
php:
image: php:7.4-fpm
container_name: app-sample
restart: unless-stopped
tty: true
working_dir: /var/www
env_file:
- .env
volumes:
- ./:/var/www:ro
- ./php/local.ini:/usr/local/etc/php/conf.d/local.ini
networks:
- app-network
composer:
image: composer
container_name: composer-sample
volumes:
- ./:/app/
command: update && install
networks:
- app-network
webserver:
image: nginx:alpine
container_name: webserver-sample
tty: true
ports:
- "8080:80"
volumes:
- ./:/var/www:ro
- ./nginx/conf.d/:/etc/nginx/conf.d/
networks:
- app-network
ff-proxy:
image: "harness/ff-proxy:0.9.6"
container_name: ff-proxy-sample
volumes:
- ./config:/config
env_file:
- .env
ports:
- "7002:7000"
networks:
- app-network
redis:
image: "redis:latest"
container_name: redis-sample
networks:
- app-network
networks:
app-network:
driver: bridge