mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
24 lines
425 B
Text
24 lines
425 B
Text
version: "3.7"
|
|
|
|
services:
|
|
database:
|
|
image: postgres
|
|
restart: always
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- data:/var/lib/postgresql/data
|
|
nourybot:
|
|
user: "1000:1000"
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
env_file: .env
|
|
volumes:
|
|
- "/tmp/CHANGE_THIS_DIRECTORY/:/public/uploads"
|
|
ports:
|
|
- "127.0.0.1:42069:8080"
|
|
depends_on:
|
|
- database
|
|
volumes:
|
|
data:
|