This commit is contained in:
ferdzo
2025-08-06 21:13:05 +02:00
parent b5115db152
commit 3acc9e9ebb
2 changed files with 0 additions and 30 deletions

View File

@@ -1,8 +0,0 @@
FROM golang:latest as build
WORKDIR /app
COPY . .
RUN go build -o main .
FROM scratch
COPY --from=build /app/main /usr/local/bin/main

View File

@@ -1,22 +0,0 @@
services:
redis:
image: redis:8.2-alpine
command: redis-server --requirepass ${REDIS_PASSWORD}
ports:
- 6379:6379
db:
image: postgres:17.5
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USER}
POSTGRES_DB: ${DB_NAME}
ports:
- 5432:5432
# app:
# build: .
# env_file:
# - .env
# ports:
# - 3000:3000