Skip to content

Commit

Permalink
Revert file path changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ozencb committed Nov 12, 2024
1 parent b825ed3 commit 5f4a890
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.22.3-alpine

RUN apk update && apk add --no-cache sqlite curl

WORKDIR /
WORKDIR /app

COPY go.mod go.sum ./
RUN go mod download
Expand All @@ -11,7 +11,7 @@ COPY . .

RUN go build -o main cmd/main.go

COPY static /static
COPY static /app/static

EXPOSE 8363

Expand Down
10 changes: 1 addition & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
services:
couchtube:
build: .
image: ghcr.io/ozencb/couchtube:latest
container_name: couchtube_app
ports:
- "8363:8363"
environment:
- PORT=8363
#- DATABASE_FILE_PATH=/app/data/couchtube.db
#- JSON_FILE_PATH=/app/data/videos.json
- READONLY_MODE=false
#volumes:
# - ./videos.json:/app/data/videos.json:ro
# - couchtube_db:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8363"]
interval: 30s
timeout: 10s
retries: 3

volumes:
couchtube_db:

0 comments on commit 5f4a890

Please sign in to comment.