mirror-nourybot/example.docker-compose
2024-07-17 22:57:40 +02:00

25 lines
515 B
Plaintext

services:
nourybot:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
env_file: .env
depends_on:
- postgres
volumes:
- "/tmp/CHANGE_ME/uploads:/public/uploads"
ports:
- "127.0.0.1:8080:8080"
postgres:
image: postgres
restart: unless-stopped
environment:
POSTGRES_DB: nourybot
POSTGRES_USER: nourybot
POSTGRES_PASSWORD: coolpassword
volumes:
- nourybotdb:/var/lib/postgresql/data
volumes:
nourybotdb: