mirror of
https://gitee.com/kennylee/docker.git
synced 2024-12-02 03:48:15 +08:00
8 lines
272 B
YAML
8 lines
272 B
YAML
app:
|
||
build: .
|
||
container_name: fs_server
|
||
environment:
|
||
- TZ=Asia/Shanghai
|
||
restart: always
|
||
net: host #因为没说明server的监听说明,十分纠结,虽然怀疑会随机监听48000-50000的端口,但为了一劳永逸,暂时偷懒host
|