forked from hiqdev/hipanel-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.dist
43 lines (40 loc) · 1.04 KB
/
docker-compose.yml.dist
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
version: '3.7'
services:
app:
image: "${DOCKER_APP_IMAGE}:${DOCKER_APP_TAG}"
restart: unless-stopped
volumes:
- ./.env:/app/.env
- ./.docker/php/var/log/php:/var/log/php
- ./.docker/nginx/var/log/nginx:/var/log/nginx
tmpfs:
- /app/runtime/debug:uid=82,gid=82
networks:
proxy-network:
hiapi-network:
local-network:
extra_hosts:
- "local-php-fpm:127.0.0.1"
- "${API_HOSTS_LINE}"
environment:
- "ENV=${ENV}"
- "PHP_IDE_CONFIG=serverName=${HOSTS}"
- "VIRTUAL_HOST=${HOSTS}"
- "LETSENCRYPT_HOST=${HOSTS}"
- "LETSENCRYPT_EMAIL=devteam@hiqdev.com"
- "LETSENCRYPT_STANDALONE_CERTS=${LETSENCRYPT_STANDALONE_CERTS:-false}"
- "BEFORE_ENTRYPOINT=composer dump"
memcached:
image: memcached:1.5
networks:
- local-network
command: '-m 128'
networks:
local-network:
driver: bridge
hiapi-network:
name: "${HIAPI_DIST}"
external: true
proxy-network:
name: "nginx-proxy-network-${REAL_IP}"
external: true