From 454e26db7f44069d545010e1dfb87971b5c5a6fa Mon Sep 17 00:00:00 2001 From: Andrey Meshkov Date: Tue, 4 Jun 2019 16:30:55 +0300 Subject: [PATCH] Update ports in docker files --- Dockerfile | 2 +- Dockerfile.travis | 2 +- docker-compose.yml | 31 ------------------------------- 3 files changed, 2 insertions(+), 33 deletions(-) delete mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile index 33a6021d..6677d928 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ COPY --from=build --chown=nobody:nogroup /src/AdGuardHome/AdGuardHome /opt/adgua RUN setcap 'cap_net_bind_service=+eip' /opt/adguardhome/AdGuardHome -EXPOSE 53/tcp 53/udp 67/tcp 67/udp 68/tcp 68/udp 80/tcp 443/tcp 853/tcp 853/udp 3000/tcp +EXPOSE 53/tcp 53/udp 67/udp 68/udp 80/tcp 443/tcp 853/tcp 3000/tcp VOLUME ["/opt/adguardhome/conf", "/opt/adguardhome/work"] diff --git a/Dockerfile.travis b/Dockerfile.travis index ec8d7133..ea3a0683 100644 --- a/Dockerfile.travis +++ b/Dockerfile.travis @@ -11,7 +11,7 @@ COPY --chown=nobody:nogroup ./AdGuardHome /opt/adguardhome/AdGuardHome RUN setcap 'cap_net_bind_service=+eip' /opt/adguardhome/AdGuardHome -EXPOSE 53/tcp 53/udp 67/tcp 67/udp 68/tcp 68/udp 80/tcp 443/tcp 853/tcp 853/udp 3000/tcp +EXPOSE 53/tcp 53/udp 67/udp 68/udp 80/tcp 443/tcp 853/tcp 3000/tcp VOLUME ["/opt/adguardhome/conf", "/opt/adguardhome/work"] diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 1c3d6646..00000000 --- a/docker-compose.yml +++ /dev/null @@ -1,31 +0,0 @@ -%YAML 1.2 ---- -# https://docs.docker.com/compose/compose-file/ - -version: '2.4' - -services: - - adguard-home: - image: adguard/adguardhome:armhf-latest - init: true - ports: - - "53:53/tcp" - - "53:53/udp" - - "67:67/tcp" - - "67:67/udp" - - "68:68/tcp" - - "68:68/udp" - - "80:80/tcp" - - "443:443/tcp" - - "853:853/tcp" - - "853:853/udp" - - "3000:3000/tcp" - volumes: - - /opt/adguard-home:/opt/adguardhome/conf - - /srv/adguard-home:/opt/adguardhome/work - #user: nobody - read_only: true - restart: always - -...