编写dockerfile启动脚本
编辑shell启动脚本
This commit is contained in:
1 parent
dc625997c4
commit
ea9e3d2fe1
7 files changed
+115
-16
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user