31 lines
779 B
YAML
31 lines
779 B
YAML
---
|
|
services:
|
|
illegitimate:
|
|
container_name: illegitimate
|
|
image: registry.gitlab.com/illegitimate/illegitimate-bot:main
|
|
restart: unless-stopped
|
|
environment:
|
|
- TOKEN=${TOKEN}
|
|
- DEV=${DEV}
|
|
- HYPIXELAPIKEY=${HYPIXELAPIKEY}
|
|
- REDISURI=${REDISURI}
|
|
- PG_USER=${PG_USER}
|
|
- PG_PASSWORD=${PG_PASSWORD}
|
|
- PG_HOST=${PG_HOST}
|
|
- PG_PORT=${PG_PORT}
|
|
- PG_DATABASE=${PG_DATABASE}
|
|
depends_on:
|
|
- db
|
|
db:
|
|
container_name: illegitimate-postgres
|
|
image: postgres:16.4
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./db:/var/lib/postgresql/data
|
|
ports:
|
|
- 127.0.0.1:5432:5432
|
|
environment:
|
|
- POSTGRES_PASSWORD=${PG_PASSWORD}
|
|
- POSTGRES_USER=${PG_USER}
|
|
- POSTGRES_DB=${PG_DATABASE}
|