updated docker

main
alex 2023-11-04 09:26:52 +01:00
parent 69a7089c6b
commit 690ea3d7e1
2 changed files with 2 additions and 21 deletions

View File

@ -2,7 +2,7 @@ FROM golang:latest
WORKDIR /app WORKDIR /app
COPY main /app/main COPY ./main /app/main
COPY public /app/public COPY ./public /app/public
CMD ["./main"] CMD ["./main"]

View File

@ -7,22 +7,3 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
restart: always
ports:
- "8085:8080"
volumes:
- log_manager_data:/app
# CHANGE HERE - ONLY THE PATH ON YOUR SYSTEM: path_on_your_system:path_on_container
- ./log-manager-data:/log-manager-data
environment:
- DOCKER=true
- DEBUG=true
- COLORIZED_OUTPUT=true
- HOST=0.0.0.0
- PORT=8080
- SSE_SERVER_ENABLED=true
- LOG_FOLDER=./log-manager-data/
- DAYS_TO_KEEP_LOGS=30
volumes:
log_manager_data: