-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcompose.yml
More file actions
39 lines (37 loc) · 1016 Bytes
/
Copy pathcompose.yml
File metadata and controls
39 lines (37 loc) · 1016 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
39
services:
webserver:
image: nginx:alpine
container_name: georoadbook-webserver
working_dir: /application
environment:
- TZ=Europe/Paris
volumes:
- .:/application
- ./docker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "8000:80"
php-fpm:
build:
context: docker/php-fpm
args:
UID: "${UID:-1000}"
GID: "${GID:-1000}"
container_name: georoadbook-php-fpm
working_dir: /application
user: "${UID:-1000}:${GID:-1000}"
environment:
- TZ=Europe/Paris
volumes:
- .:/application
- ./docker/php-fpm/php-ini-overrides.ini:/etc/php/8.5/fpm/conf.d/99-overrides.ini
weasyprint:
build:
context: docker/weasyprint
container_name: georoadbook-weasyprint
environment:
- TZ=Europe/Paris
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5001/health')"]
interval: 30s
timeout: 5s
retries: 3