Files
Xinyue-Search/docker-compose.yml
T
2025-04-05 17:40:50 +08:00

31 lines
547 B
YAML

services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: xinyue-app
restart: unless-stopped
working_dir: /var/www/html
volumes:
- ./:/var/www/html
networks:
- xinyue-network
nginx:
image: nginx:alpine
container_name: xinyue-nginx
restart: unless-stopped
ports:
- "8009:80"
volumes:
- ./:/var/www/html
- ./docker/nginx:/etc/nginx/conf.d
networks:
- xinyue-network
networks:
xinyue-network:
driver: bridge
volumes:
dbdata: