Skip to content

Commit

Permalink
Add and start redis-server
Browse files Browse the repository at this point in the history
  • Loading branch information
jarlhengstmengel committed Jan 14, 2025
1 parent 8ca08dd commit d563dca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ RUN apt-get update && \
ln -sf /usr/local/bin/node /usr/bin/node

RUN apt-get install -y netcat-traditional pcregrep
RUN apt-get install -y redis-server && \
usermod -aG redis www-data

WORKDIR /workspace

Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}
},
"postCreateCommand": "./tools/install.sh --python python3.11 && ./tools/migrate.sh && ./tools/loadtestdata.sh",
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && redis-server --daemonize yes --unixsocket /workspace/redis-server.sock --unixsocketperm 770",
"remoteEnv": {
"DJANGO_SETTINGS_MODULE": "integreat_cms.core.settings",
"INTEGREAT_CMS_DEBUG": "1",
Expand Down

0 comments on commit d563dca

Please sign in to comment.