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
|
2023-12-19 22:53:42 +01:00
|
|
|
volumes:
|
2024-07-17 22:57:40 +02:00
|
|
|
- "/tmp/CHANGE_ME/uploads:/public/uploads"
|
2023-12-10 19:08:54 +01:00
|
|
|
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:
|