We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21806a6 commit 12a97b6Copy full SHA for 12a97b6
docker-compose.yml
@@ -0,0 +1,11 @@
1
+# docker-compose up -d
2
+version: '3'
3
+services:
4
+ myip:
5
+ container_name: myip
6
+ image: jason5ng32/myip:latest # my-app: x.x.x
7
+ stdin_open: true # docker run -i 交互模式
8
+ tty: true # docker run -t 终端模式
9
+ restart: always # 重启策略 / on-failure:5 重启次数5次 / always 一直重启 / unless-stopped 除非停止 / no 从不重启
10
+ ports:
11
+ - "18966:18966"
0 commit comments