Files
docker-nodejs/conf/docker-compose.yml
T
2020-10-21 11:48:51 +02:00

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