Andy80-Arg commited on
Commit
76efe59
·
verified ·
1 Parent(s): 3a43dda

Update dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -3,7 +3,7 @@ FROM typesense/typesense:30.1
3
 
4
  # Set environment variables
5
  ENV TYPESENSE_DATA_DIR=/data
6
- ENV TYPESENSE_API_KEY=v3ct0r-d0m41n-s34rch
7
  ENV TYPESENSE_API_PORT=7860
8
 
9
  # Switch to root to create the directory and fix permissions
@@ -21,4 +21,4 @@ EXPOSE 7860
21
 
22
  # Start Typesense
23
  # Note: We must explicitly tell Typesense where the data-dir is in the command
24
- CMD ["/opt/typesense-server", "--data-dir", "/data", "--api-port", "7860", "--api-key", "your_very_secret_key", "--enable-cors"]
 
3
 
4
  # Set environment variables
5
  ENV TYPESENSE_DATA_DIR=/data
6
+ ENV TYPESENSE_API_KEY=
7
  ENV TYPESENSE_API_PORT=7860
8
 
9
  # Switch to root to create the directory and fix permissions
 
21
 
22
  # Start Typesense
23
  # Note: We must explicitly tell Typesense where the data-dir is in the command
24
+ CMD ["/opt/typesense-server", "--data-dir", "/data", "--api-port", "7860", "--enable-cors"]