Installation guides and examples of nginx configurations are welcome. I understand very little at Docker and I still have to study this technology.
Best to put discourse in a subdomain or it’s own domain. The key variables in your docker-compose.yml are:
Here’s what my gitea’s .yml file look like:
version: "3.5" services: server: image: gitea/gitea:latest environment: - VIRTUAL_HOST=git.domain.tld - VIRTUAL_PORT=3000 - USER_UID=1000 - USER_GID=1000 restart: unless-stopped networks: global-frontend-network: volumes: - ./gitea:/data ports: - "3000:3000" - "2222:22" networks: global-frontend-network: external: name: ee-global-frontend-network
Sure. But I must use subfolder. I must adhere to the existing structure.
With subdomain or with it’s own domain I can use other VPS without EE. How can I do it with subfolder?
Try changing VIRTUAL_HOST=domain.tld/discourse