i fix!!! i fix!!!!!!
All checks were successful
Deploy Containers / Prepare (push) Successful in 53s
All checks were successful
Deploy Containers / Prepare (push) Successful in 53s
This commit is contained in:
6
main.yml
6
main.yml
@@ -106,9 +106,9 @@
|
||||
- name: Deploy Wings
|
||||
import_tasks: tasks/wings.yml
|
||||
tags: wings_deploy
|
||||
- name: Deploy Pterodactyl
|
||||
import_tasks: tasks/pterodactyl.yml
|
||||
tags: pterodactyl_deploy
|
||||
- name: Deploy Pelican
|
||||
import_tasks: tasks/pelican.yml
|
||||
tags: pelican_deploy
|
||||
- name: Deploy Database
|
||||
import_tasks: tasks/postgres.yml
|
||||
tags: postgres_deploy
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
http:
|
||||
middlewares:
|
||||
landiteRedirect:
|
||||
redirectRegex:
|
||||
regex: ".*"
|
||||
replacement: "https://alexav.gg/?ref=landite"
|
||||
permanent: true
|
||||
|
||||
routers:
|
||||
landite:
|
||||
rule: "Host(`landite.games`)"
|
||||
middlewares:
|
||||
- landiteRedirect
|
||||
service: noop@internal
|
||||
entryPoints:
|
||||
- webSecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
32
tasks/pelican.yml
Normal file
32
tasks/pelican.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
- name: Deploy Pelican Panel
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: Pelican
|
||||
directories:
|
||||
- "{{ data_dir }}/pelican"
|
||||
image:
|
||||
name: ghcr.io/pelican-dev/panel
|
||||
tag: latest
|
||||
volumes:
|
||||
- "pelican-data:/pelican-data"
|
||||
- "pelican-logs:/var/www/html/storage/logs"
|
||||
- "{{ data_dir }}/pelican/Caddyfile:/etc/caddy/Caddyfile"
|
||||
etc_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
env:
|
||||
XDG_DATA_HOME: /pelican-data
|
||||
TRUSTED_PROXIES: "172.21.0.0/16"
|
||||
APP_URL: "https://{{ PELICAN_APP_URL }}"
|
||||
ADMIN_EMAIL: "{{ PELICAN_EMAIL }}"
|
||||
PUID: "{{ PUID }}"
|
||||
PGID: "{{ PGID }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.pelican.rule: Host(`panel.landite.games`)
|
||||
traefik.http.routers.pelican.entrypoints: webSecure
|
||||
traefik.http.routers.pelican.tls.certresolver: letsencrypt
|
||||
traefik.http.services.pelican.loadbalancer.server.port: "80"
|
||||
Reference in New Issue
Block a user