-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathdocker-compose.yml.local
65 lines (60 loc) · 1.38 KB
/
docker-compose.yml.local
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: '3.7'
services:
selenium:
image: selenium/standalone-chrome:3.141.0
networks:
- local-network
- proxy-network
- hiapi-network
volumes:
- /dev/shm:/dev/shm
nginx:
image: nginx:latest
ports:
- "80"
volumes:
- ./:/app
- ./.docker/nginx/etc/nginx/conf.d:/etc/nginx/conf.d
- ./.docker/nginx/var/log/nginx:/var/log/nginx
networks:
local-network:
proxy-network:
hiapi-network:
aliases:
- "${HOSTS}"
environment:
- "VIRTUAL_HOST=${HOSTS}"
- "LETSENCRYPT_HOST=${HOSTS}"
- "LETSENCRYPT_STANDALONE_CERTS=${LETSENCRYPT_STANDALONE_CERTS:-false}"
memcached:
image: memcached
networks:
- local-network
command: '-m 128'
php-fpm:
image: hiqdev/php:8.3-fpm-alpine
volumes:
- ./:/app
- ./.docker/php/var/log/php:/var/log/php
tmpfs:
- /app/runtime/debug:uid=82,gid=82
networks:
hiapi-network:
local-network:
aliases:
- local-php-fpm
extra_hosts:
- "${API_HOSTS_LINE}"
environment:
- "ENV=${ENV}"
- "PHP_IDE_CONFIG=serverName=${HOSTS}"
networks:
local-network:
driver: bridge
hiapi-network:
name: "${HIAPI_DIST}"
external: true
proxy-network:
name: "nginx-proxy-network-${REAL_IP}"
external: true