Permission denied

Hi, I downloaded and edited docker-compose.yml and .env and when I do docker-compose up -d it’s telling me that I don’t have permissions. Don’t you know hot to fix it?

docker-compose up -d
Traceback (most recent call last):
File “/snap/docker/423/bin/docker-compose”, line 11, in
load_entry_point(‘docker-compose==1.23.2’, ‘console_scripts’, ‘docker-compose’)()
File “/snap/docker/423/lib/python2.7/site-packages/compose/cli/main.py”, line 71, in main
command()
File “/snap/docker/423/lib/python2.7/site-packages/compose/cli/main.py”, line 124, in perform_command
project = project_from_options(’.’, options)
File “/snap/docker/423/lib/python2.7/site-packages/compose/cli/command.py”, line 27, in project_from_options
environment = Environment.from_env_file(override_dir or project_dir)
File “/snap/docker/423/lib/python2.7/site-packages/compose/config/environment.py”, line 61, in from_env_file
instance = _initialize()
File “/snap/docker/423/lib/python2.7/site-packages/compose/config/environment.py”, line 57, in _initialize
return cls(env_vars_from_file(env_file_path))
File “/snap/docker/423/lib/python2.7/site-packages/compose/config/environment.py”, line 35, in env_vars_from_file
with contextlib.closing(codecs.open(filename, ‘r’, ‘utf-8-sig’)) as fileobj:
File “/snap/docker/423/usr/lib/python2.7/codecs.py”, line 896, in open
file = builtin.open(filename, mode, buffering)
IOError: [Errno 13] Permission denied: u’./.env’

Check the volumes in the docker files, perhaps these cause the issues.

After I added user:root to every service it started working.

But now this error appears:

ERROR: for backend_squidex_proxy_1 Cannot start service squidex_proxy: driver failed programming external connectivity on endpoint backend_squide x_proxy_1 (212f32d7ac7cbd8ae3035f60a7792bafc6fafd26fc112cc80ac06da203026e7a): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use

ERROR: for squidex_proxy Cannot start service squidex_proxy: driver failed programming external connectivity on endpoint backend_squidex_proxy_1 (212f32d7ac7cbd8ae3035f60a7792bafc6fafd26fc112cc80ac06da203026e7a): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
ERROR: Encountered errors while bringing up the project.

So I stopped nginx which was occupying port 80, docker is up and running but I can’t access administration… it says 503 Service Temporarily Unavailable nginx/1.14.1