Commit a87fe081 authored by Ondřej Borýsek's avatar Ondřej Borýsek
Browse files

Cleanup docker-compose files

parent b47e2fc9
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -7,13 +7,18 @@ services:
    ports:
      - 5001:5000

  # PwnDoc Backend is already exposed via PwnDoc Frontend which acts as a reverse proxy.
  # pwndoc-backend:
  #   ports:
  #     - 4242:4242

  pwndoc-frontend:
    ports:
      - 8444:8443
  # pwndoc-frontend:
  #   build:
  #     context: ./pwndoc/frontend
  #     args:
  #       API_PORT: 8443
  #   ports:
  #     - 8443:8443

  importer-redis:
    ports:
@@ -22,3 +27,4 @@ services:
  # gateway:
  #   ports:
  #     - "8443:443"
  #     - "8080:80"  # This bypasses TLS Client auth, but also can have problems due to Secure cookies over HTTP
+1 −4
Original line number Diff line number Diff line
@@ -84,10 +84,7 @@ services:
    entrypoint: ["/bin/sh", "-c", "npm start 2>&1| tee -a /app/custom_logs/pwndoc.log"]

  pwndoc-frontend:
    build:
      context: ./pwndoc/frontend
      args:
        API_PORT: 8443
    build: ./pwndoc/frontend
    container_name: pwndoc-frontend
    restart: unless-stopped
    depends_on: