-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 947 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (34 loc) · 947 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
# itk-version: 3.2.1
networks:
frontend:
external: true
app:
driver: bridge
internal: false
services:
phpfpm:
image: itkdev/php8.2-fpm:latest
networks:
- app
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- PHP_XDEBUG_MODE=${PHP_XDEBUG_MODE:-off}
- PHP_MAX_EXECUTION_TIME=30
- PHP_MEMORY_LIMIT=256M
# Depending on the setup, you may have to remove --read-envelope-from from msmtp (cf. https://marlam.de/msmtp/msmtp.html) or use SMTP to send mail
- PHP_SENDMAIL_PATH=/usr/bin/msmtp --host=mail --port=1025 --read-recipients --read-envelope-from
- DOCKER_HOST_DOMAIN=${COMPOSE_DOMAIN}
- COMPOSER_VERSION=2
- PHP_IDE_CONFIG=serverName=localhost
volumes:
- .:/app
node:
image: node:20
networks:
- app
extra_hosts:
- "host.docker.internal:host-gateway"
working_dir: /app
volumes:
- .:/app