Updates
This commit is contained in:
parent
7c181e28dc
commit
596dbb307e
4 changed files with 53 additions and 1 deletions
11
compose/caddy.yml
Normal file
11
compose/caddy.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
services:
|
||||||
|
caddy:
|
||||||
|
image: caddy:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
|
- "443:443/udp"
|
||||||
|
volumes:
|
||||||
|
- ${ROOT_DIR}/conf:/etc/caddy
|
||||||
|
- ${ROOT_DIR}/caddy_data:/data
|
14
compose/input.yml
Normal file
14
compose/input.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
services:
|
||||||
|
input:
|
||||||
|
image: ghcr.io/deck9/input:main
|
||||||
|
volumes:
|
||||||
|
- ${ROOT_DIR}:/var/www/html/storage
|
||||||
|
ports:
|
||||||
|
- ${APP_PORT}:8080
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- APP_URL="https://${HOSTNAME}:8080"
|
||||||
|
- APP_KEY=${APP_KEY}
|
||||||
|
- DB_CONNECTION="sqlite"
|
||||||
|
- SESSION_DRIVER="file"
|
||||||
|
- CACHE_DRIVER="file"
|
27
compose/rallly.yml
Normal file
27
compose/rallly.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
services:
|
||||||
|
rallly_db:
|
||||||
|
image: postgres:14.2
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ${ROOT_DIR}/db-data:/var/lib/postgresql/data
|
||||||
|
environment:
|
||||||
|
- POSTGRES_PASSWORD=postgres
|
||||||
|
- POSTGRES_DB=db
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
|
rallly:
|
||||||
|
image: lukevella/rallly:latest
|
||||||
|
restart: always
|
||||||
|
platform: linux/amd64
|
||||||
|
depends_on:
|
||||||
|
- rallly_db
|
||||||
|
ports:
|
||||||
|
- ${APP_PORT}:3000
|
||||||
|
environment:
|
||||||
|
- DATABASE_URL=postgres://postgres:postgres@rallly_db/db
|
||||||
|
env_file:
|
||||||
|
- stack.env
|
|
@ -29,4 +29,4 @@ services:
|
||||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
Loading…
Add table
Reference in a new issue