feat:增加docker配置
This commit is contained in:
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
name:
|
||||
sweet-hut
|
||||
|
||||
services:
|
||||
blog-ui:
|
||||
image: cxx/blog-ui:0.0.1
|
||||
container_name: blog-ui
|
||||
ports:
|
||||
- "82:80"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
networks:
|
||||
- sweet-hut
|
||||
restart: always
|
||||
|
||||
networks:
|
||||
sweet-hut:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user