r3-cloud/docker-compose.yml

29 lines
903 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
- ${R3_CONTEXT}/build_events.php:/app/build_events.php
- ${R3_CONTEXT}/create_class.php:/app/create_class.php
- ${R3_CONTEXT}/update_options.php:/app/update_options.php
- ${R3_CONTEXT}/update_templates.php:/app/update_templates.php
- ${R3_CONTEXT}/.r3_history:/app/.r3_history
networks:
- r3_network
command: "start"
restart: unless-stopped
networks:
r3_network:
name: ${R3_NETWORK_DOMAIN}
external: true