lots of stuff had been added
This commit is contained in:
parent
28420e86dd
commit
814900b72e
16 changed files with 257 additions and 0 deletions
6
installer/Dockerfile
Normal file
6
installer/Dockerfile
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
FROM alpine
|
||||
RUN apk update && apk add bash curl
|
||||
workdir /app
|
||||
RUN curl -s https://i.jpillora.com/installer | bash
|
||||
EXPOSE 3003
|
||||
CMD /app/installer
|
||||
34
installer/docker-compose.yml
Normal file
34
installer/docker-compose.yml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
installer:
|
||||
image: installer
|
||||
build: ../installer
|
||||
container_name: installer
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
networks:
|
||||
- proxy
|
||||
ports:
|
||||
- 3003:3003
|
||||
environment:
|
||||
- HTTP_HOST=0.0.0.0
|
||||
- PORT=3003
|
||||
- USER=waylonwalker
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.installer.entrypoints=http"
|
||||
- "traefik.http.routers.installer.rule=Host(`installer.${URL}`)"
|
||||
- "traefik.http.middlewares.installer-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.installer.middlewares=installer-https-redirect"
|
||||
- "traefik.http.routers.installer-secure.entrypoints=https"
|
||||
- "traefik.http.routers.installer-secure.rule=Host(`installer.${URL}`)"
|
||||
- "traefik.http.routers.installer-secure.tls=true"
|
||||
- "traefik.http.routers.installer-secure.service=installer"
|
||||
- "traefik.http.services.installer.loadbalancer.server.port=3003"
|
||||
- "traefik.docker.network=proxy"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue