Compare commits
2 commits
6b04ff20a1
...
e21dd8610b
Author | SHA1 | Date | |
---|---|---|---|
e21dd8610b | |||
a5cf209999 |
3 changed files with 41 additions and 18 deletions
55
compose.yml
55
compose.yml
|
@ -4,20 +4,43 @@ services:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
PUBLIC_POCKETBASE_URL: https://pb.data.lio.systems
|
PUBLIC_POCKETBASE_URL: ${PUBLIC_POCKETBASE_URL}
|
||||||
PUBLIC_TITLE: Astro Gallery
|
PUBLIC_TITLE: ${PUBLIC_TITLE}
|
||||||
PUBLIC_DESCRIPTION: This is my Gallery Site
|
PUBLIC_DESCRIPTION: ${PUBLIC_DESCRIPTION}
|
||||||
PUBLIC_USEICONS: true
|
PUBLIC_USEICONS: ${PUBLIC_USEICONS}
|
||||||
|
env_file: .env
|
||||||
|
labels:
|
||||||
|
caddy: lion.gay
|
||||||
|
caddy.reverse_proxy: "{{upstreams 4321}}"
|
||||||
|
pocketbase:
|
||||||
|
image: ghcr.io/muchobien/pocketbase:latest
|
||||||
|
container_name: pocketbase
|
||||||
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
caddy: pocket.fangs.app
|
||||||
|
caddy.reverse_proxy: "{{upstreams 8090}}"
|
||||||
|
caddy:
|
||||||
|
container_name: "caddy"
|
||||||
|
image: videah/caddy-proxy:latest
|
||||||
ports:
|
ports:
|
||||||
- 4321:4321
|
- "80:80"
|
||||||
env_file:
|
- "443:443"
|
||||||
- .env
|
- "443:443/udp"
|
||||||
# - PUBLIC_POCKETBASE_URL=https://pb.data.lio.systems
|
environment:
|
||||||
# - PUBLIC_TITLE=Astro Gallery
|
- CADDY_INGRESS_NETWORKS=caddy
|
||||||
# - PUBLIC_DESCRIPTION=This is my Gallery Site
|
networks:
|
||||||
# - PUBLIC_USEICONS=true
|
- caddy
|
||||||
# build:
|
volumes:
|
||||||
# context: .
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
# dockerfile: Dockerfile
|
- caddy_data:/data
|
||||||
# args:
|
restart: unless-stopped
|
||||||
# PUBLIC_HOST: http://localhost:4321
|
labels:
|
||||||
|
caddy.email: "caddy@lion.gay"
|
||||||
|
caddy.encode: zstd gzip
|
||||||
|
|
||||||
|
networks:
|
||||||
|
caddy:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
caddy_data: {}
|
|
@ -9,7 +9,7 @@ if (image) {
|
||||||
}
|
}
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="relative max-w-xl mx-auto mt-20 h-32 w-64">
|
<div class="relative max-w-xl mx-auto mt-20 h-32 w-55">
|
||||||
<a href={href} class="block">
|
<a href={href} class="block">
|
||||||
{
|
{
|
||||||
image && (
|
image && (
|
||||||
|
|
|
@ -15,7 +15,7 @@ export const prerender = false;
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<h1 class="text-3xl text-center pt-8">Characters</h1>
|
<h1 class="text-3xl text-center pt-8">Characters</h1>
|
||||||
<div
|
<div
|
||||||
class="grid grid-cols-2 xl:grid-cols-4 gap-4 columns-2 md:columns-4 self-center"
|
class="grid grid-cols-2 xl:grid-cols-4 gap-4 columns-2 md:columns-4 self-center p-4"
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
[...characters].map((c) => (
|
[...characters].map((c) => (
|
||||||
|
|
Loading…
Add table
Reference in a new issue