diff --git a/dev-backend-docker-compose.yml b/dev-backend-docker-compose.yml index ad25bf75..c2786583 100644 --- a/dev-backend-docker-compose.yml +++ b/dev-backend-docker-compose.yml @@ -82,19 +82,22 @@ services: - ecbackend nginx: - # openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout tls_localhost_key.pem -out tls_localhost_cert.pem -subj "/C=GB/ST=London/L=London/O=Alros/OU=IT Department/CN=localhost" + # see backend/dev_tls_setup for how to generate the tls certs hostname: synapse.m.localhost image: nginx:latest volumes: - ./backend/dev_nginx.conf:/etc/nginx/conf.d/default.conf:Z - - ./backend/tls_localhost_key.pem:/root/ssl/key.pem:Z - - ./backend/tls_localhost_cert.pem:/root/ssl/cert.pem:Z + - ./backend/dev_tls_m.localhost.key:/root/ssl/key.pem:Z + - ./backend/dev_tls_m.localhost.crt:/root/ssl/cert.pem:Z ports: # HOST_PORT:CONTAINER_PORT - "80:80" - "443:443" - "8008:80" - "4443:443" + - "8448:8448" + extra_hosts: + - "host.docker.internal:host-gateway" depends_on: - synapse networks: