lilJudd/docker-compose.yml
moonleay 6d08457d05
All checks were successful
Build Gradle project / build-gradle-project (push) Successful in 3m35s
chore: improve documentation of self-hosting using docker / docker-compose
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-07 10:37:11 +01:00

32 lines
685 B
YAML

version: "3"
services:
lilJudd:
container_name: liljudd
image: limiteddev/liljudd:x.x.x
deploy:
resources:
limits:
cpus: "1"
memory: 1G
networks:
- traefik
restart: unless-stopped
volumes:
- ./config/liljudd/:/data/
postgresql:
container_name: postgresql
image: postgres:13.3-alpine
deploy:
resources:
limits:
cpus: "1"
memory: 1G
environment:
- POSTGRES_USER=liljudd
- POSTGRES_PASSWORD=changeme
- POSTGRES_DB=liljudd
networks:
- traefik
restart: unless-stopped
volumes:
- ./data/postgresql/:/var/lib/postgresql/data/