-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
32 lines (30 loc) · 1.08 KB
/
docker-compose.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
version: "3.5"
services:
application:
container_name: "${APPLICATION_CONTAINER_NAME:-glpi}"
restart: "${APPLICATION_CONTAINER_RESTART_POLICY:-unless-stopped}"
build:
context: "containers/glpi"
args:
BASE_IMAGE: "${APPLICATION_CONTAINER_BASE_IMAGE:-php:apache-buster}"
HOST_GROUP_ID: "${HOST_GROUP_ID:-1000}"
HOST_USER_ID: "${HOST_USER_ID:-1000}"
networks:
default:
aliases:
- "${APPLICATION_NETWORK_ALIAS:-glpi.local}"
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "${APPLICATION_HTTP_PORT:-80}:80"
volumes:
- type: "bind"
source: "${APPLICATION_HOME:-./mounts/application/home/www-data}"
target: "/home/www-data"
- type: "bind"
source: "${APPLICATION_PATH:-./mounts/application/var/www/glpi}"
target: "/var/www/glpi"
networks:
default:
driver: "bridge"
name: "${NETWORK_NAME:-glpi_bridge}"