-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.ci.yml
More file actions
34 lines (34 loc) · 898 Bytes
/
docker-compose.ci.yml
File metadata and controls
34 lines (34 loc) · 898 Bytes
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
services:
php:
container_name: chubbyphp-petstore-php
hostname: chubbyphp-petstore-php
build:
dockerfile: ./docker/production/php/Dockerfile
context: ./
environment:
APP_ENV: prod
swagger-ui:
container_name: chubbyphp-petstore-swagger-ui
hostname: chubbyphp-petstore-swagger-ui
image: swaggerapi/swagger-ui
environment:
BASE_URL: /swagger
URLS: '[ { url: "/openapi" } ]'
nginx:
container_name: chubbyphp-petstore-nginx
hostname: chubbyphp-petstore-nginx
image: nginx
environment:
SERVER_PORT: '443'
PHP_FPM_SERVER_HOST: 'php'
PHP_FPM_SERVER_PORT: '9000'
SWAGGER_SERVER_HOST: 'swagger-ui'
SWAGGER_SERVER_PORT: '8080'
ports:
- '443:443'
volumes:
- ./docker/development/nginx:/etc/nginx/templates
- ${PWD}:/app:ro
depends_on:
- php
- swagger-ui