2023-03-20 10:10:17 +08:00
|
|
|
version: "3"
|
|
|
|
|
2023-03-20 13:31:51 +08:00
|
|
|
networks:
|
2023-03-20 13:37:42 +08:00
|
|
|
default:
|
2023-03-20 13:42:52 +08:00
|
|
|
external: true
|
|
|
|
name: backset.cn-net
|
2023-03-20 10:10:17 +08:00
|
|
|
|
|
|
|
services:
|
|
|
|
web:
|
2023-03-20 13:13:18 +08:00
|
|
|
image: backset/server:1.0
|
2023-03-20 13:16:18 +08:00
|
|
|
build:
|
|
|
|
context: ./
|
|
|
|
dockerfile: Dockerfile.release
|
2023-03-20 10:10:17 +08:00
|
|
|
restart: always
|
|
|
|
container_name: backset-server # 容器名称
|
|
|
|
ports:
|
|
|
|
- "7001:7001"
|
2023-03-20 13:31:51 +08:00
|
|
|
networks:
|
2023-03-20 13:42:52 +08:00
|
|
|
default:
|
2023-03-20 13:31:51 +08:00
|
|
|
ipv4_address: 172.31.0.48
|
|
|
|
aliases:
|
|
|
|
- backset-server
|