mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-28 16:55:32 +00:00
Dockerfile
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM golang:1.24
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
RUN go build
|
||||
EXPOSE 8090
|
||||
|
||||
CMD ["./lenz-web"]
|
||||
|
||||
@@ -19,7 +19,7 @@ const (
|
||||
|
||||
DEFAULT_BRANCH = "main"
|
||||
|
||||
DEFAULT_PORT = "8080"
|
||||
DEFAULT_PORT = "8085"
|
||||
DEFAULT_ADDR = "127.0.0.1"
|
||||
DEFAULT_HTTPS = false
|
||||
|
||||
|
||||
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
name: lenz-briefe
|
||||
services:
|
||||
all:
|
||||
build: .
|
||||
ports:
|
||||
- "8085:8085"
|
||||
volumes:
|
||||
- lenz_briefe:/app/data
|
||||
volumes:
|
||||
lenz_briefe:
|
||||
Reference in New Issue
Block a user