mirror-nourybot/docker-compose.yml

23 lines
377 B
YAML

version: "3.7"
services:
database:
image: postgres
restart: always
env_file:
- .env
ports:
- "127.0.0.1:55432:5432"
volumes:
- data:/var/lib/postgresql/data
nourybot:
build:
context: .
dockerfile: Dockerfile
env_file: .env
ports:
- "127.0.0.1:42069:8080"
depends_on:
- database
volumes:
data: