2022-10-19 17:37:13 +02:00
|
|
|
version: "3"
|
2020-12-05 16:43:14 +01:00
|
|
|
|
|
|
|
services:
|
2022-06-03 17:24:14 +02:00
|
|
|
mybunker:
|
2022-08-24 15:14:26 +02:00
|
|
|
image: bunkerity/bunkerweb:1.4.3
|
2020-12-05 16:43:14 +01:00
|
|
|
ports:
|
|
|
|
- 80:8080
|
|
|
|
- 443:8443
|
2022-06-03 17:24:14 +02:00
|
|
|
# ⚠️ read this if you use local folders for volumes ⚠️
|
|
|
|
# bunkerweb runs as an unprivileged user with UID/GID 101
|
2021-05-15 21:08:35 +02:00
|
|
|
# don't forget to edit the permissions of the files and folders accordingly
|
2022-06-03 17:24:14 +02:00
|
|
|
# example if you need to create a directory : mkdir folder && chown root:101 folder && chmod 770 folder
|
|
|
|
# or for an existing one : chown -R root:101 folder && chmod -R 770 folder
|
|
|
|
# more info at https://docs.bunkerweb.io
|
2020-12-05 16:43:14 +01:00
|
|
|
volumes:
|
2022-06-03 17:24:14 +02:00
|
|
|
- bw_data:/data
|
2020-12-05 16:43:14 +01:00
|
|
|
environment:
|
2022-10-19 17:37:13 +02:00
|
|
|
- SERVER_NAME=www.example.com # replace with your domain
|
2020-12-05 16:43:14 +01:00
|
|
|
- SERVE_FILES=no
|
|
|
|
- DISABLE_DEFAULT_SERVER=yes
|
|
|
|
- AUTO_LETS_ENCRYPT=yes
|
2021-04-26 17:00:23 +02:00
|
|
|
- USE_CLIENT_CACHE=yes
|
2020-12-05 16:43:14 +01:00
|
|
|
- USE_GZIP=yes
|
|
|
|
- USE_REVERSE_PROXY=yes
|
|
|
|
- REVERSE_PROXY_URL=/ws/
|
|
|
|
- REVERSE_PROXY_HOST=http://myws:8010/
|
|
|
|
- REVERSE_PROXY_WS=yes
|
|
|
|
|
|
|
|
myws:
|
|
|
|
image: ksdn117/web-socket-test
|
2022-06-03 17:24:14 +02:00
|
|
|
|
|
|
|
volumes:
|
2022-10-19 17:37:13 +02:00
|
|
|
bw_data:
|