Prentiss
Prentiss
Explore posts from servers
RRailway
Created by Prentiss on 5/2/2024 in #✋|help
Your connection is not private
Currently receiving "NET::ERR_CERT_DATE_INVALID" on some of my sites. ID: 1ccd180a-5a98-431c-af65-1f09bf8fec13 ID: de1a3a6e-56d4-40c2-a85c-3d444d60d058
21 replies
RRailway
Created by Prentiss on 4/15/2024 in #✋|help
Redis Connection Failure
No description
9 replies
RRailway
Created by Prentiss on 1/16/2024 in #✋|help
SSH Workaround?
I have Directus deployed as a service via a Docker image. I need to provide the application the "path to key file on disk" via an environment variable to enable file storage. Any thoughts on how to go about this? Must I create a custom Dockerfile?
35 replies
RRailway
Created by Prentiss on 12/12/2023 in #✋|help
Dockerfile Deployment Error on Railway
Hello, my Dockerfile works find using Docker Desktop, however it fails when deployed to Railway. Error on: RUN go run main.go -precompile Project ID: d09cd450-b0ba-483f-ae0c-5e329305f433
FROM golang:1.21

RUN wget https://github.com/sass/dart-sass/releases/download/1.69.5/dart-sass-1.69.5-linux-x64.tar.gz
RUN tar -xvf dart-sass-1.69.5-linux-x64.tar.gz -C /usr/local/bin --strip-components 1

WORKDIR /go/src

COPY go.mod go.sum ./
RUN go mod download && go mod verify

COPY . .

RUN go run main.go -precompile
RUN CGO_ENABLED=0 GOOS=linux go build -o bin .

FROM scratch

ENV LANG C.UTF-8


COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=0 /go/src/bin .
COPY --from=0 /go/src/assets ./assets
COPY --from=0 /go/src/views ./views

CMD ["./bin"]
FROM golang:1.21

RUN wget https://github.com/sass/dart-sass/releases/download/1.69.5/dart-sass-1.69.5-linux-x64.tar.gz
RUN tar -xvf dart-sass-1.69.5-linux-x64.tar.gz -C /usr/local/bin --strip-components 1

WORKDIR /go/src

COPY go.mod go.sum ./
RUN go mod download && go mod verify

COPY . .

RUN go run main.go -precompile
RUN CGO_ENABLED=0 GOOS=linux go build -o bin .

FROM scratch

ENV LANG C.UTF-8


COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=0 /go/src/bin .
COPY --from=0 /go/src/assets ./assets
COPY --from=0 /go/src/views ./views

CMD ["./bin"]
15 replies
RRailway
Created by Prentiss on 10/31/2023 in #✋|help
Docker ENV?
Does railway accept environment variables defined within a Dockerfile? ENV FOO bar And yes, my repository is private.
12 replies