mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-11-29 18:28:09 +08:00
a51feb0311
* feat: update extension UI * fix(components): [manage-access] a tag rename to span * feat: update e2e Co-authored-by: buqiyuan <1743369777@qq.com> Co-authored-by: 夜鹰 <17kungfuboy@gmail.com>
40 lines
818 B
YAML
40 lines
818 B
YAML
version: '3'
|
|
|
|
services:
|
|
postcat:
|
|
# build: 从当前路径构建镜像
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: production
|
|
image: eolinker/postcat:${VERSION}
|
|
container_name: postcat
|
|
restart: always
|
|
extra_hosts:
|
|
- 'host.docker.internal:host-gateway'
|
|
ports:
|
|
- '8000:80'
|
|
networks:
|
|
- postcat_net
|
|
|
|
postcat-test-server:
|
|
# build: 从当前路径构建镜像
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: builder
|
|
image: eolinker/postcat-test-server:${VERSION}
|
|
container_name: postcat-test-server
|
|
restart: always
|
|
extra_hosts:
|
|
- 'host.docker.internal:host-gateway'
|
|
ports:
|
|
- '4201:4201'
|
|
- '4202:4202'
|
|
networks:
|
|
- postcat_net
|
|
|
|
networks:
|
|
postcat_net:
|
|
name: postcat_net
|