-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
22 lines (22 loc) · 668 Bytes
/
docker-compose.yml
File metadata and controls
22 lines (22 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
version: "3"
services:
app:
user: "${UID:-1000}:${GID:-1000}"
build:
context: ./.docker/7.3
dockerfile: Dockerfile
args:
WWWGROUP: "${UID:-1000}"
networks:
- default
ports:
- "${VUEPRESS_DEV_PORT:-8080}:8080"
- "${VUEPRESS_PORT:-8089}:8089"
volumes:
- "${PWD}:/var/www/html"
- "${COMPOSER_HOME:-$HOME/.config/composer}:${COMPOSER_HOME:-$HOME/.config/composer}"
- "${COMPOSER_CACHE_DIR:-$HOME/.cache/composer}:${COMPOSER_CACHE_DIR:-$HOME/.cache/composer}"
command: http-server dist/phpdoc-vuepress --port 8089 --proxy http://localhost:8089?
networks:
default:
driver: bridge