Skip to content
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 25 additions & 3 deletions docker-compose.yml
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be changed as this is for prod. If you need to change something use the dev compose

Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.8"

services:
pfcontrol:
build:
Expand All @@ -14,9 +12,33 @@ services:
volumes:
- ./logs:/app/logs
restart: unless-stopped
depends_on:
- postgres
- redis
networks:
- pfcontrol-network

postgres:
image: postgres:16
environment:
POSTGRES_USER: pfcontrol
POSTGRES_PASSWORD: pfcontrol
POSTGRES_DB: pfcontrol
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
networks:
- pfcontrol-network

redis:
image: redis:7-alpine
restart: unless-stopped
networks:
- pfcontrol-network

volumes:
postgres_data:

networks:
pfcontrol-network:
driver: bridge
driver: bridge
Loading