Skip to content

Commit 913b40d

Browse files
committed
fix container names and hostnames
1 parent d93698e commit 913b40d

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

docker-compose.ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
services:
22
php:
3-
container_name: petstore-php
4-
hostname: petstore-php
3+
container_name: chubbyphp-petstore-php
4+
hostname: chubbyphp-petstore-php
55
build:
66
dockerfile: ./docker/production/php/Dockerfile
77
context: ./
88
environment:
99
APP_ENV: prod
1010
swagger-ui:
11-
container_name: petstore-swagger-ui
12-
hostname: petstore-swagger-ui
11+
container_name: chubbyphp-petstore-swagger-ui
12+
hostname: chubbyphp-petstore-swagger-ui
1313
image: swaggerapi/swagger-ui
1414
environment:
1515
BASE_URL: /swagger
1616
URLS: '[ { url: "/openapi" } ]'
1717
nginx:
18-
container_name: petstore-nginx
19-
hostname: petstore-nginx
18+
container_name: chubbyphp-petstore-nginx
19+
hostname: chubbyphp-petstore-nginx
2020
image: nginx
2121
environment:
2222
SERVER_PORT: '443'

docker-compose.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
php:
3-
container_name: petstore-php
4-
hostname: petstore-php
3+
container_name: chubbyphp-petstore-php
4+
hostname: chubbyphp-petstore-php
55
build:
66
dockerfile: ./docker/development/php/Dockerfile
77
context: ./
@@ -32,8 +32,8 @@ services:
3232
ports:
3333
- '9003:9003'
3434
postgres:
35-
container_name: petstore-postgres
36-
hostname: petstore-postgres
35+
container_name: chubbyphp-petstore-postgres
36+
hostname: chubbyphp-petstore-postgres
3737
image: postgres:17
3838
command: -c log_statement=all -c log_error_verbosity=VERBOSE
3939
environment:
@@ -44,15 +44,15 @@ services:
4444
volumes:
4545
- postgres:/var/lib/postgresql/data
4646
swagger-ui:
47-
container_name: petstore-swagger-ui
48-
hostname: petstore-swagger-ui
47+
container_name: chubbyphp-petstore-swagger-ui
48+
hostname: chubbyphp-petstore-swagger-ui
4949
image: swaggerapi/swagger-ui
5050
environment:
5151
BASE_URL: /swagger
5252
URLS: '[ { url: "/openapi" } ]'
5353
nginx:
54-
container_name: petstore-nginx
55-
hostname: petstore-nginx
54+
container_name: chubbyphp-petstore-nginx
55+
hostname: chubbyphp-petstore-nginx
5656
image: nginx
5757
environment:
5858
SERVER_PORT: '443'

0 commit comments

Comments
 (0)