Files
kittyurl/docker-compose.yaml
2026-01-21 04:39:19 +01:00

51 lines
1.3 KiB
YAML

# 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:${FRONTEND_VERSION:-latest}
env_file:
- .env
ports:
- ${FRONTEND_PORT}:6568
depends_on:
- kittybe
volumes:
- ${CURRENT_DIRECTORY_ABSOLUTE_PATH}.env:/.env
restart: unless-stopped
kittybe:
container_name: backend
image: gitea.7o7.cx/kittyteam/kittybe:${BACKEND_VERSION:-latest}
env_file:
- .env
ports:
- ${BACKEND_PORT}:6567
depends_on:
- postgres
volumes:
# Change me if you want to store wordlist somewhere else.
# Remember, Docker requires you to point out absolute path when mounting
# only a single file.
- ${CURRENT_DIRECTORY_ABSOLUTE_PATH}${PATH_TO_WORDLIST}:/app/src/tools/wordlist.ts
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}
volumes:
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
shm_size: 128mb