feat: add preliminary docker-compose and default .env
This commit is contained in:
40
docker-compose.yaml
Normal file
40
docker-compose.yaml
Normal 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}
|
||||
|
||||
Reference in New Issue
Block a user