feat: add preliminary docker-compose and default .env

This commit is contained in:
2025-12-04 15:30:56 +01:00
parent ddabd1af73
commit 15774d6063
3 changed files with 64 additions and 0 deletions

40
docker-compose.yaml Normal file
View File

@@ -0,0 +1,40 @@
# kittyurl docker compose config
#
# Tip: Please do not change values listed here. Instead, modify your .env file.
name: kittyurl
services:
# kittyfe:
# container_name: frontend
# image: gitea.7o7.cx/kittyteam/kittyfe:${KITTY_VERSION:-master-latest}
# env_file:
# - .env
# ports:
# - ${FRONTEND_PORT}:6568
# depends_on:
# - kittybe
# restart: unless-stopped
kittybe:
container_name: backend
image: gitea.7o7.cx/kittyteam/kittybe:${KITTY_VERSION:-master-latest}
env_file:
- .env
ports:
- ${BACKEND_PORT}:6567
depends_on:
- postgres
restart: unless-stopped
postgres:
container_name: database
image: "postgres:17.2"
# Uncomment to expose DB port:
# ports:
# - '5432:5432'
environment:
POSTGRES_USER: ${PG_USER}
POSTGRES_PASSWORD: ${PG_PASS}
POSTGRES_DB: ${PG_DB}