ops: update docker files
This commit is contained in:
parent
04fc379479
commit
7e512671a8
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user