Collab service for RedTeam
- Ubuntu Linux system
- VS Code
- Docker
- Postman
- Postgresql Admin Tool for query browser
- GitHub Login for Accessing Repository
================================= version: '3.1'
services:
db: image: postgres restart: always environment: POSTGRES_PASSWORD: HackM3 PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- ./db:/var/lib/postgresql/data
ports:
- 1486:1486
- 5432:5432
=======================================
version: '3'
services:
swiftent_apache:
image: digite/swiftent-apache:latest
container_name: swiftent_apache
hostname: swiftent_apache
environment:
Please refer link for Timezone code need to pass as per you location. For example India= Asia/Kolkata
- TZ=Asia/Kolkata
volumes:
- ./conf:/opt/configuration
- ./log:/var/log/apache2
- /data/Pythonwork/redteam/newcollabapi/frontend:/var/www/html
ports:
- 80:80
- 443:443
===========================================================================
<VirtualHost _default_:80>
ServerAdmin [email protected]
LogFormat "%h %t \"%r\" %>s %p %b \"%{Referer}i\" \"%{User-Agent}i\" %{ms}T" nimblelog
ErrorLog ${APACHE_LOG_DIR}/app-error.log
#CustomLog ${APACHE_LOG_DIR}/app-access.log nimblelog
CustomLog "|/usr/bin/rotatelogs -l ${APACHE_LOG_DIR}/app-access-%d-%m-%Y-%H-%M-%S.log 86400" nimblelog
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
DocumentRoot /var/www/html
<Directory /var/www/html> Options -Indexes AllowOverride All Order allow,deny Allow from all
ErrorDocument 503 /UnplannedDowntime.html
SetOutputFilter DEFLATE SetInputFilter DEFLATE SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary SetEnvIfNoCase Request_URI .(?:pdf|exe|zip)$ no-gzip dont-vary
</VirtualHost>