Skip to content

Commit

Permalink
fix: remove depends_on var
Browse files Browse the repository at this point in the history
Removing *depends_on* fixes the dns issue with the host command

fixes#99
  • Loading branch information
Steven-Harris authored Nov 16, 2020
1 parent 2df6944 commit 4f7806a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker-compose-t2-synology.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,11 @@ services:
image: portainer/portainer-ce:latest
restart: unless-stopped
# command: -H unix:///var/run/docker.sock # # Use Docker Socket Proxy instead for improved security
# command: -H tcp://socket-proxy:2375 # appears to not work. Workaround was to create a new socket-proxy:2375 endpoint on portainer settings
command: -H tcp://socket-proxy:2375
networks:
- socket_proxy
ports:
- "$PORTAINER_PORT:9000"
depends_on:
- socket-proxy
security_opt:
- no-new-privileges:true
volumes:
Expand Down

0 comments on commit 4f7806a

Please sign in to comment.