20 lines
414 B
YAML
20 lines
414 B
YAML
version: '3'
|
|
|
|
services:
|
|
|
|
nginx:
|
|
build: build/nginx
|
|
container_name: ${CLIENT}.nginx.${ENV}
|
|
hostname: nginx
|
|
volumes:
|
|
- ../volume/nginx/etc.nginx.sites-enabled:/etc/nginx/sites-enabled
|
|
- ../volume/www:/home/www
|
|
restart: always
|
|
|
|
node:
|
|
build: build/node
|
|
container_name: ${CLIENT}.node.${ENV}
|
|
hostname: node
|
|
volumes:
|
|
- ../volume/app:/home/app
|
|
restart: always |