forked from xolvionl/laravel-data-openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (32 loc) · 785 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (32 loc) · 785 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
version: "3.7"
services:
php:
container_name: laravel-data-openapi-generator
image: xolvionl/laravel:minimal
user: "${UID:-1000}"
command: php-fpm -F
hostname: laravel-data-openapi-generator
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
COMPOSER_HOME: ~/.composer
COMPOSER_CACHE_DIR: ~/.composer/cache
restart: unless-stopped
working_dir: /var/www/
networks:
- traefik_default
volumes:
- type: bind
source: ./
target: /var/www
- type: bind
source: /etc/passwd
target: /etc/passwd
read_only: true
- type: bind
source: /etc/group
target: /etc/group
read_only: true
networks:
traefik_default:
external: true