-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.example.yml
55 lines (51 loc) · 1.13 KB
/
docker-compose.override.example.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
services:
app:
build:
target: app-workspace
args:
UNMINIMIZE: yes
GIT_USER:
GIT_EMAIL:
GIT_DEFAULT_BRANCH: "master"
GIT_INSTALL_GCM: no
LANG: "${LANG}"
TZ: "${TZ}"
healthcheck:
interval: 2s
timeout: 2s
start_period: 10s
retries: 5
ports:
- "${BROWSERSYNC_PORT:-3000}:${BROWSERSYNC_PORT:-3000}"
- "${BROWSERSYNC_UI_PORT:-3001}:${BROWSERSYNC_UI_PORT:-3001}"
environment:
TERM: "${TERM}"
ZSH_THEME: "powerlevel10k/powerlevel10k"
volumes:
# Source
- ".:/var/www/html"
# Credentials
- "~/.config/composer/auth.json:/home/html/.config/composer/auth.json"
# Vscode server
- "vscode:/home/html/.vscode-server"
webserver:
build:
target: webserver-local
networks:
- nginx-proxy
environment:
VIRTUAL_HOST: "${SERVER_NAME}"
LANG: "${LANG}"
TZ: "${TZ}"
TERM: "${TERM}"
volumes:
- ".:/var/www/html:ro"
selenium:
environment:
TERM: "${TERM}"
networks:
nginx-proxy:
external: true
volumes:
vscode:
driver: local