编写dockerfile启动脚本

编辑shell启动脚本
This commit is contained in:
wanghaima committed 2022-08-14 23:32:58 +08:00
1 parent dc625997c4
commit ea9e3d2fe1
7 files changed
+115 -16

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
version: '3.8'
services:
go-admin-api:
container_name: go-admin
image: go-admin:latest
privileged: true
restart: always
ports:
- 8000:8000
volumes:
- ./config/:/go-admin-api/config/
- ./static/:/go-admin-api/static/
- ./temp/:/go-admin-api/temp/
networks:
- myweb
networks:
myweb:
driver: bridge