-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.override.yml
40 lines (36 loc) · 1.15 KB
/
docker-compose.override.yml
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
40
services:
php:
build:
target: armaforces_web_php_dev
volumes:
- './:/www/app:rw'
# If you develop on Mac or Windows you can remove the vendor/ and var/ directory
# from the bind-mount for better performance by enabling the next lines:
#- /www/app/vendor
#- /www/app/var
environment:
PHP_IDE_CONFIG: serverName=armaforces-web
extra_hosts:
- "host.docker.internal:host-gateway"
nginx:
volumes:
- './public:/www/app/public:ro'
pgsql:
image: postgres:16.0-alpine
env_file:
- .docker/pgsql/vars.env
ports:
- "5432:5432"
imgproxy:
image: darthsim/imgproxy:v2
environment:
IMGPROXY_KEY: '61726d61'
IMGPROXY_SALT: '666f72636573'
IMGPROXY_ENABLE_WEBP_DETECTION: 'true'
IMGPROXY_MAX_ANIMATION_FRAMES: 900
IMGPROXY_MAX_SRC_RESOLUTION: 70
IMGPROXY_TTL: 31536000
IMGPROXY_WRITE_TIMEOUT: 20
IMGPROXY_READ_TIMEOUT: 20
ports:
- '8888:8080'