ops: update docker files

This commit is contained in:
jabuxas 2024-09-03 21:54:21 -03:00
parent 04fc379479
commit 7e512671a8
2 changed files with 4 additions and 7 deletions

View File

@ -2,7 +2,7 @@ FROM golang:1.23
WORKDIR /app WORKDIR /app
# COPY go.mod go.sum ./ COPY go.mod go.sum ./
COPY go.mod ./ COPY go.mod ./
RUN go mod download RUN go mod download

View File

@ -1,13 +1,10 @@
services: services:
paste: paste:
environment:
URL: "localhost:58080"
AUTH_USERNAME: "admin"
AUTH_PASSWORD: "admin"
build: . build: .
ports: ports:
- "58080:8080" - "58080:8999"
volumes: volumes:
- ./files:/app/files - ./files:/app/files
- ./.key:/app/.key
restart: unless-stopped restart: unless-stopped
env_file:
- .env