Changeset f99bbe8 in Klonkt for docker-compose.yml
- Timestamp:
- 06/23/2026 10:00:00 PM (3 months ago)
- Branches:
- main
- Children:
- 5eef817
- Parents:
- 09ee2bd
- File:
-
- 1 edited
-
docker-compose.yml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
docker-compose.yml
r09ee2bd rf99bbe8 16 16 env_file: .env 17 17 environment: 18 # In de container draait 'ie altijd op 3000 en in productie-modus, 19 # ongeacht wat er in .env staat. 18 # Inside the container it always runs on port 3000 in production mode and 19 # binds all interfaces (so the port mapping works) — overrides .env. The 20 # loopback host-mapping below is what keeps it off the public internet. 20 21 NODE_ENV: production 21 22 PORT: "3000" 23 HOST: "0.0.0.0" 22 24 ports: 23 # host:container — wijzig de host-poort (links) als 3000 al bezet is. 24 - "3000:3000" 25 # Bind the host port to loopback only — reach the app through your reverse 26 # proxy (Caddy/nginx) on this host, not directly from the internet. 27 # Change the left side if 3000 is taken, e.g. "127.0.0.1:3001:3000". 28 - "127.0.0.1:3000:3000" 25 29 volumes: 26 # All e data (database, geüploade media + audio) blijft hier bewaard.30 # All data (database, uploaded media + audio) is kept here. 27 31 - klonkt-data:/app/storage 28 32
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)