add docker-compose.yml

This commit is contained in:
Dmitry Belyaev 2023-02-28 20:29:51 +03:00
parent 281a87c662
commit cd7a5329f9
1 changed files with 19 additions and 0 deletions

19
docker-compose.yml Executable file
View File

@ -0,0 +1,19 @@
version: "3"
services:
doh:
image: tmp/doh-proxy
build:
context: .
dockerfile: Dockerfile
#command: doh-proxy --help
container_name: doh-proxy
#restart: always
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
logging:
driver: json-file
options:
max-file: '5'
max-size: 10m