-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml.dev
54 lines (49 loc) · 1.15 KB
/
docker-compose.yml.dev
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
version: '3.7'
services:
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
environment:
- "VIRTUAL_HOST=${HOSTS}"
- "LETSENCRYPT_HOST=${HOSTS}"
- "LETSENCRYPT_EMAIL=devteam@hiqdev.com"
- "LETSENCRYPT_STANDALONE_CERTS=${LETSENCRYPT_STANDALONE_CERTS:-false}"
memcached:
image: memcached:1.5
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