forked from DiscordBots/lilJudd
33 lines
685 B
YAML
33 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/
|