mirror-nourybot/example.docker-compose

25 lines
515 B
Plaintext
Raw Normal View History

2023-12-03 20:50:38 +01:00
services:
nourybot:
build:
context: .
dockerfile: Dockerfile
2024-07-17 22:57:40 +02:00
restart: unless-stopped
2023-12-03 20:50:38 +01:00
env_file: .env
2024-07-17 22:57:40 +02:00
depends_on:
- postgres
volumes:
2024-07-17 22:57:40 +02:00
- "/tmp/CHANGE_ME/uploads:/public/uploads"
ports:
2024-07-17 22:57:40 +02:00
- "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
2023-12-03 20:50:38 +01:00
volumes:
2024-07-17 22:57:40 +02:00
nourybotdb: