mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
25 lines
515 B
Plaintext
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:
|