Skip to content

Commit 210d93d

Browse files
committed
docker project
1 parent 6248046 commit 210d93d

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

docker-compose.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: '3.5'
2+
3+
networks:
4+
public:
5+
external:
6+
name: traefik_webgateway
7+
8+
services:
9+
app:
10+
build:
11+
args:
12+
- XDEBUG=true
13+
- RELEASE_VERSION=apache
14+
- USER_ID=${USER_ID}
15+
- GROUP_ID=${USER_ID}
16+
context: ~/docker
17+
container_name: mvc5playground
18+
labels:
19+
- traefik.docker.network=traefik_webgateway
20+
- traefik.frontend.rule=Host:mvc5playground
21+
- traefik.port=80
22+
networks:
23+
- public
24+
volumes:
25+
- .:/var/www

tests/Api/ClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ClientTest
1919
*/
2020
protected function client() : GuzzleHttp\Client
2121
{
22-
return new GuzzleHttp\Client(['base_uri' => 'http://localhost:8000']);
22+
return new GuzzleHttp\Client(['base_uri' => 'http://localhost']);
2323
}
2424

2525
/**

0 commit comments

Comments
 (0)