This commit is contained in:
6
main.yml
6
main.yml
@@ -106,9 +106,9 @@
|
|||||||
- name: Deploy Wings
|
- name: Deploy Wings
|
||||||
import_tasks: tasks/wings.yml
|
import_tasks: tasks/wings.yml
|
||||||
tags: wings_deploy
|
tags: wings_deploy
|
||||||
- name: Deploy Pelican
|
- name: Deploy Pterodactyl
|
||||||
import_tasks: tasks/pelican.yml
|
import_tasks: tasks/pterodactyl.yml
|
||||||
tags: pelican_deploy
|
tags: pterodactyl_deploy
|
||||||
- name: Deploy Database
|
- name: Deploy Database
|
||||||
import_tasks: tasks/postgres.yml
|
import_tasks: tasks/postgres.yml
|
||||||
tags: postgres_deploy
|
tags: postgres_deploy
|
||||||
|
|||||||
@@ -1,32 +0,0 @@
|
|||||||
---
|
|
||||||
- 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: "9000"
|
|
||||||
Reference in New Issue
Block a user