Skip to content

Commit

Permalink
added comment in startserver_production.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Jan 5, 2024
1 parent ec44b80 commit 0ebcbe2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clam/clamnewproject.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ def main():
#At this point you can pass any environment variables you use in your {sysid}.config.yml, pass them via --env
docker run --rm --volume "$DATADIR:/data" -p "$HOST_PORT:80" --env CLAM_ROOT=/data/{sysid}-userdata --env CLAM_USE_FORWARDED_HOST=0 "{sysid}"
# Note: if your host system uses SELinux and you find the data is not properly writable from the container then you might need to change --volume parameter to "$DATADIR:/data:z"
# In many production scenarios, you will not invoke this script manually but instead use a kubernetes deployment (setting the necessary env variables) or a docker-compose.yml
# It is strongly recommended to deploy the container behind a reverse proxy that handles SSL, make sure to pass CLAM_USER_FORWARDED_HOST=1 when running the container in that case.
Expand Down

0 comments on commit 0ebcbe2

Please sign in to comment.