This commit is contained in:
@@ -15,6 +15,7 @@ FROM alpine:3.20
|
||||
RUN apk add --no-cache ca-certificates
|
||||
|
||||
COPY --from=builder /bin/sctradingtool /bin/sctradingtool
|
||||
COPY ./static /bin/static
|
||||
|
||||
# Default listens on :8080 – siehe main.go
|
||||
EXPOSE 8080
|
||||
|
28
compose.yml
28
compose.yml
@@ -2,13 +2,28 @@ services:
|
||||
api:
|
||||
image: git.send.nrw/b1tsblog/trading:latest
|
||||
container_name: trading
|
||||
volumes:
|
||||
- /docker/trading-bitkiller:/data
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.trading.rule=Host(`trading.b1tsblog.org`)
|
||||
- traefik.http.services.trading.loadbalancer.server.port=80
|
||||
- traefik.http.routers.trading.entrypoints=websecure
|
||||
- traefik.http.routers.trading.tls=true
|
||||
- traefik.http.routers.trading.tls.certresolver=letsencrypt
|
||||
- traefik.http.middlewares.trading-redirect.redirectscheme.scheme=https
|
||||
- traefik.http.middlewares.trading-redirect.redirectscheme.permanent=true
|
||||
- traefik.http.routers.trading0.rule=Host(`trading.b1tsblog.org`)
|
||||
- traefik.http.routers.trading0.entrypoints=web
|
||||
- traefik.http.routers.trading0.middlewares=trading-redirect
|
||||
- traefik.protocol=http
|
||||
networks:
|
||||
- tradingnw
|
||||
- traefik-net
|
||||
environment:
|
||||
# HIER BEARBEITEN
|
||||
KT_USERNAME: Nutzername
|
||||
KT_PASSWORD: Passwort
|
||||
KT_MEMBER: InGame-Name
|
||||
KT_USERNAME: groot
|
||||
KT_PASSWORD: ""
|
||||
KT_MEMBER: B1tK1ll3r
|
||||
# Sollten Ports extern verfügbar gemacht werden müssen (nicht empfohlen)
|
||||
#ports:
|
||||
#- "8080:8080" # <host>:<container>
|
||||
@@ -18,11 +33,12 @@ services:
|
||||
#image: fosrl/newt
|
||||
#container_name: newt
|
||||
#networks:
|
||||
#- tradingnw
|
||||
#- traefik-net
|
||||
#restart: unless-stopped
|
||||
#environment:
|
||||
#- PANGOLIN_ENDPOINT=
|
||||
#- NEWT_ID=
|
||||
#- NEWT_SECRET=
|
||||
networks:
|
||||
tradingnw:
|
||||
traefik-net:
|
||||
external: true
|
Reference in New Issue
Block a user