mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-06 05:55:42 +00:00
chore: Delete numerous application modules, templates, static assets, documentation, and build files.
This commit is contained in:
@@ -1,92 +0,0 @@
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:15
|
||||
environment:
|
||||
POSTGRES_DB: "${DB_NAME}"
|
||||
POSTGRES_USER: "${DB_USER}"
|
||||
POSTGRES_PASSWORD: "${DB_PASSWORD}"
|
||||
volumes:
|
||||
- db_data:/var/lib/postgresql/data/
|
||||
ports:
|
||||
- "5432:5432"
|
||||
networks:
|
||||
- app_network
|
||||
|
||||
duplicati:
|
||||
image: duplicati/duplicati:2.1.0.119
|
||||
|
||||
ports:
|
||||
- "8200:8200"
|
||||
|
||||
environment:
|
||||
- DUPLICATI__WEBSERVICE_PASSWORD:"${DUPLICATI_PASSWORD}"
|
||||
|
||||
|
||||
volumes:
|
||||
- ./duplicati_config:/config
|
||||
- ./duplicati_backups:/backups
|
||||
- db_data:/source_postgres_data
|
||||
|
||||
|
||||
django_app:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8000:8000"
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://0.0.0.0:8000/"]
|
||||
interval: 5m
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
restart: on-failure
|
||||
|
||||
volumes:
|
||||
- static_volume:/app/gestaoRaul/static
|
||||
environment:
|
||||
DB_ENGINE: "${DB_ENGINE}"
|
||||
DB_HOST: "${DB_HOST}"
|
||||
DB_PORT: "${DB_PORT}"
|
||||
DB_NAME: "${DB_NAME}"
|
||||
DB_USER: "${DB_USER}"
|
||||
DB_PASSWORD: "${DB_PASSWORD}"
|
||||
DEBUG: "False"
|
||||
ALLOWED_HOSTS: "rrbec.local.com, 0.0.0.0, django_app"
|
||||
|
||||
networks:
|
||||
- app_network
|
||||
|
||||
nginx_server:
|
||||
build:
|
||||
context: ./NginxServer
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- static_volume:/app/gestaoRaul/static
|
||||
ports:
|
||||
- "80:80"
|
||||
depends_on:
|
||||
- django_app
|
||||
networks:
|
||||
- app_network
|
||||
|
||||
websocket_server:
|
||||
build:
|
||||
context: ./WebSocketServer
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8765:8765"
|
||||
restart: on-failure
|
||||
networks:
|
||||
- app_network
|
||||
|
||||
volumes:
|
||||
static_volume:
|
||||
db_data:
|
||||
|
||||
networks:
|
||||
app_network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user