- Add .drone.yml file to configure CI/CD pipeline - Set up Docker build and push to private registry - Add deployment configuration for development and production environments - Include health check and environment variable support
25 lines
486 B
YAML
25 lines
486 B
YAML
services:
|
|
kami_frontend:
|
|
build:
|
|
context: ../.
|
|
dockerfile: ./deploy/Dockerfile
|
|
args:
|
|
- USE_PROXY=$USE_PROXY
|
|
environment:
|
|
- NGINX_CONFIG_URL=$NGINX_CONFIG_URL
|
|
container_name: $CONTAINER
|
|
image: kami_frontend:$VERSION
|
|
restart: always
|
|
ports:
|
|
- 127.0.0.1:$PORT:12400
|
|
networks:
|
|
1panel-network:
|
|
aliases:
|
|
- $ALIASES
|
|
labels:
|
|
createdBy: Developer
|
|
|
|
networks:
|
|
1panel-network:
|
|
external: true
|