x-logging: &logging
logging:
driver: json-file
options:
max-size: 10m
max-file: 3
services:
anytls:
image: xuqwinner/anytls:tag
container_name: anytls
environment:
- MODE=server
- SERVER_PORT=port
- PASSWD=password
ports:
- port:port
healthcheck:
test: ["CMD", "sh", "/health_check.sh"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
restart: unless-stopped
<<: *logging
x-logging: &logging
logging:
driver: json-file
options:
max-size: 10m
max-file: 3
services:
anytls:
image: xuqwinner/anytls:tag
container_name: anytls
environment:
- MODE=client
- CLIENT_PORT=client_port
- SERVER_IP=ip
- SERVER_PORT=server_port
- PASSWD=password
ports:
- client_port:client_port
healthcheck:
test: ["CMD", "sh", "/health_check.sh"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
restart: unless-stopped
<<: *logging
Content type
Image
Digest
sha256:c0791fb8a…
Size
7.6 MB
Last updated
over 1 year ago
docker pull xuqwinner/anytls