forked from ankitpokhrel/tus-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (45 loc) · 1.03 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
43
44
45
46
47
48
49
---
version: '3.7'
services:
tus-server:
build: ./server
container_name: tus-php-server
ports:
- 8081:80
volumes:
- ../:/var/www:delegated
- ../example:/var/www/html:delegated
- ./.data/server/logs:/var/log/nginx:delegated
- ./.data/server/xdebug:/var/log/xdebug:delegated
entrypoint: entrypoint.sh
labels:
tag: tus-php-server
group: tus-php
tus-client:
build: ./client
container_name: tus-php-client
ports:
- 8080:80
volumes:
- ../:/var/www:delegated
- ../example:/var/www/html:delegated
- ./.data/client/logs:/var/log/nginx:delegated
- ./.data/server/xdebug:/var/log/xdebug:delegated
labels:
tag: tus-php-client
group: tus-php
environment:
- SERVER_URL=http://0.0.0.0:8081
redis:
image: redis
container_name: tus-php-redis
restart: always
ports:
- 6379:6379
labels:
tag: tus-php-redis
group: tus-php
networks:
default:
external:
name: tus-php-network