fix: aktualisiere das Docker-Image auf v0.1.3 und passe die Verzeichnispfade im Dockerfile und docker-compose.yml an
This commit is contained in:
+6
-4
@@ -1,8 +1,10 @@
|
||||
FROM docker.hnrx.net/alpine:latest
|
||||
|
||||
RUN mkdir /config
|
||||
# Create application directory
|
||||
RUN mkdir -p /app/config
|
||||
|
||||
WORKDIR /root/
|
||||
# Set working directory
|
||||
WORKDIR /app/
|
||||
|
||||
# Copy the compiled binary from the builder stage
|
||||
COPY manage-servers .
|
||||
@@ -10,9 +12,9 @@ COPY manage-servers .
|
||||
# Copy the index.html file for the web server
|
||||
COPY index.html .
|
||||
|
||||
# Copy the servers.json file
|
||||
# COPY servers.json .
|
||||
RUN ls -la /app/
|
||||
|
||||
# Make the binary executable
|
||||
RUN chmod +x ./manage-servers
|
||||
|
||||
# Expose the port the web server listens on
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@ version: '3.8'
|
||||
|
||||
services:
|
||||
manage-servers:
|
||||
image: git.hnrx.net/hnrx/manage-servers:v0.1.2
|
||||
image: git.hnrx.net/hnrx/manage-servers:v0.1.3
|
||||
container_name: manage-servers
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
- "traefik.http.routers.manage-servers.tls.certresolver=cloudflare"
|
||||
- "traefik.http.services.manage-servers.loadbalancer.server.port=8080"
|
||||
volumes:
|
||||
- /volume1/docker-data/manage-servers:/config
|
||||
- /volume1/docker-data/manage-servers:/app/config
|
||||
networks:
|
||||
- my-container-macvlan-200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user