r3-cloud/docker-compose.yml

24 lines
596 B
YAML

version: '3'
services:
r3:
container_name: ${R3_CONTAINER}
image: ${R3_IMAGE}
build:
dockerfile: ${DOCKERFILE}
context: ${R3_CONTEXT}
args:
- NPM_TOKEN=${NPM_TOKEN}
volumes:
- ${R3_CONTEXT}/src:/app/src
- ${R3_CONTEXT}/test:/app/test
- ${R3_CONTEXT}/dist:/app/dist
- ${R3_CONTEXT}/gulpfile.js:/app/gulpfile.js
- ${R3_CONTEXT}/webpack.config.js:/app/webpack.config.js
networks:
- r3_network
command: "start"
restart: unless-stopped
networks:
r3_network:
name: ${R3_NETWORK_DOMAIN}
external: true