47 lines
1.5 KiB
YAML
47 lines
1.5 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
mongo:
|
|
image: mongo:latest
|
|
container_name: mongo
|
|
volumes:
|
|
- ./db:/data/db
|
|
environment:
|
|
- MONGO_INITDB_ROOT_USERNAME=root # replace with a less obvious username
|
|
- MONGO_INITDB_ROOT_PASSWORD=toor # replace with a better password
|
|
- MONGO_INITDB_DATABASE=mongo # replace with the database name of your choice
|
|
|
|
mongo-ui:
|
|
image: mongo-express:latest
|
|
environment:
|
|
- ME_CONFIG_MONGODB_SERVER=mongo
|
|
- ME_CONFIG_MONGODB_ADMINUSERNAME=root # replace with a less obvious username
|
|
- ME_CONFIG_MONGODB_ADMINPASSWORD=toor # replace with a better password
|
|
- ME_CONFIG_BASICAUTH_USERNAME=changeme # replace with a better username
|
|
- ME_CONFIG_BASICAUTH_PASSWORD=changeme # replace with a better password
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- mongo
|
|
|
|
mybunker:
|
|
image: bunkerity/bunkerweb:1.4.2
|
|
ports:
|
|
- 80:8080
|
|
- 443:8443
|
|
volumes:
|
|
- ./bw_data:/data
|
|
environment:
|
|
- SERVER_NAME=www.example.com # replace with your domain
|
|
- SERVE_FILES=no
|
|
- DISABLE_DEFAULT_SERVER=yes
|
|
- AUTO_LETS_ENCRYPT=yes
|
|
- USE_CLIENT_CACHE=yes
|
|
- USE_GZIP=yes
|
|
- AUTO_LETS_ENCRYPT=yes
|
|
- USE_REVERSE_PROXY=yes
|
|
- REVERSE_PROXY_URL=/
|
|
- REVERSE_PROXY_HOST=http://mongo-ui:8081
|
|
- USE_ANTIBOT=javascript # put the antibot of your choice here
|
|
|
|
volumes:
|
|
bw_config: |