add docker-compose example in separate folder

This commit is contained in:
Robert Resch 2021-05-26 22:32:14 +02:00
parent c5dfad41fa
commit d61c8f5766
No known key found for this signature in database
GPG key ID: 6B360759EB2ACAEE
3 changed files with 92 additions and 129 deletions

View file

@ -0,0 +1,45 @@
---
version: "3.6"
networks:
bumper:
internal: true
services:
nginx:
depends_on:
- bumper
image: nginx:alpine
networks:
default:
bumper:
ports:
- 443:443
- 5223:5223
- 8007:8007
- 8883:8883
restart: unless-stopped
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ./nginx/:/etc/nginx:ro # See config file below
bumper:
image: bmartin5692/bumper
restart: unless-stopped
networks:
bumper:
environment:
PUID: 1000
PGID: 1000
TZ: Europe/Rome
BUMPER_ANNOUNCE_IP: XXX # Insert your IP
BUMPER_LISTEN: 0.0.0.0
# BUMPER_DEBUG: "true"
LOG_TO_STDOUT: "true"
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ./config:/bumper/data
- ./certs:/bumper/certs