-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 887 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (35 loc) · 887 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
35
36
37
38
x-php-service: &php-service
image: chialab/php-dev:8.2
restart: 'no'
command: /bin/true
working_dir: /app
volumes:
- ./:/app
deploy:
replicas: 0
services:
php:
<<: *php-service
benchmark-php:
<<: *php-service
working_dir: /app/benchmark
volumes:
- ./:/app
- ./benchmark/opcache.ini:/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
docs:
build:
context: ./
dockerfile: ./docs/Dockerfile
restart: unless-stopped
healthcheck:
interval: 60s
start_interval: 3s
start_period: 3s
test: wget -O- -q http://localhost
volumes:
- ./docs:/app
- /app/.astro/
- /app/node_modules/
- /app/dist/
ports:
- '30050:80'