mirror-nourybot/example.docker-compose

27 lines
467 B
Plaintext
Raw Normal View History

2023-12-03 20:50:38 +01:00
version: "3.7"
2023-12-03 20:50:38 +01:00
services:
database:
image: postgres
restart: always
env_file:
- .env
ports:
- "127.0.0.1:55432:5432"
volumes:
2023-12-03 23:56:25 +01:00
- data:/var/lib/postgresql/data
2023-12-03 20:50:38 +01:00
nourybot:
2023-12-19 23:16:53 +01:00
user: "1000:1000"
2023-12-03 20:50:38 +01:00
build:
context: .
dockerfile: Dockerfile
env_file: .env
volumes:
- "/tmp/CHANGE_THIS_DIRECTORY/:/public/uploads"
ports:
- "127.0.0.1:42069:8080"
2023-12-03 20:50:38 +01:00
depends_on:
- database
volumes:
data: