diff --git a/build/docker/web/Dockerfile b/build/docker/web/Dockerfile index d4ad107..ef29939 100644 --- a/build/docker/web/Dockerfile +++ b/build/docker/web/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /app RUN apk --no-cache add curl nodejs npm -RUN npm install -D tailwindcss +RUN npm install -D tailwindcss@3 RUN go install github.com/a-h/templ/cmd/templ@latest @@ -13,6 +13,9 @@ RUN go mod download COPY . . +RUN go get github.com/a-h/templ@latest +RUN go mod tidy + RUN templ generate diff --git a/build/kubernetes/postgres-deployment.yaml b/build/kubernetes/postgres-deployment.yaml index 5e96444..43f5cdd 100644 --- a/build/kubernetes/postgres-deployment.yaml +++ b/build/kubernetes/postgres-deployment.yaml @@ -57,6 +57,8 @@ spec: configMapKeyRef: name: fastbin-config key: DB_PASSWORD + - name: PGDATA + value: /var/lib/postgresql/data/pgdata volumeMounts: - mountPath: /var/lib/postgresql/data name: psql-storage