nyanimedb/deploy/docker-compose.yml
nihonium 8dc085c6a0
All checks were successful
Build and Deploy Go App / build (push) Successful in 4m58s
Build and Deploy Go App / deploy (push) Successful in 2m37s
feat: migrate nyanimedb image to new registry
2025-10-08 20:57:36 +03:00

42 lines
995 B
YAML

services:
postgres:
image: postgres:${POSTGRES_VERSION}
container_name: postgres
restart: always
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
ports:
- "${POSTGRES_PORT}:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
# pgadmin:
# image: dpage/pgadmin4:${PGADMIN_VERSION}
# container_name: pgadmin
# restart: always
# environment:
# PGADMIN_DEFAULT_EMAIL: ${PGADMIN_EMAIL}
# PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASSWORD}
# ports:
# - "${PGADMIN_PORT}:80"
# depends_on:
# - postgres
# volumes:
# - pgadmin_data:/var/lib/pgadmin
nyanimedb:
image: meowgit.nekoea.red/nihonium/nyanimedb:latest
container_name: nyanimedb
restart: always
environment:
LOG_LEVEL: ${LOG_LEVEL}
ports:
- "8080:8080"
depends_on:
- postgres
volumes:
postgres_data:
pgadmin_data: