first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
|
||||
platform_go:
|
||||
image: golang:latest
|
||||
container_name: client_go
|
||||
working_dir: /apps
|
||||
volumes:
|
||||
- ./config.ini:/apps/config.ini
|
||||
- ./client.bin:/apps/client.bin
|
||||
environment:
|
||||
TZ: "Asia/Shanghai"
|
||||
ports:
|
||||
- "8666:8666"
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10240k"
|
||||
max-file: "10"
|
||||
network_mode: "bridge"
|
||||
command: ./client.bin
|
||||
restart: always
|
||||
Reference in New Issue
Block a user