Example on how to start hidden Redmine service under Fedora
openssl req -nodes -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
version: '3.7'
services:
redmine:
image: redmine
restart: always
environment:
REDMINE_DB_MYSQL: db
REDMINE_DB_PASSWORD: example
volumes:
- "./remine_files:/usr/src/redmine/files:z"
db:
image: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: redmine
volumes:
- "./mariadb:/var/lib/mysql:z"
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
tls:
build: "github.com/AnimusPEXUS/simpletlsproxy.git"
restart: always
volumes:
- "./tls:/tls:z"
command: app redmine:3000 :4433
httpsredirect:
build: "https://github.com/AnimusPEXUS/simplehttpsredirect.git"
restart: always
command: app -s :8080 -n
tor:
image: jess/tor
restart: always
user: root
volumes:
- "./tor_volumes:/hs:z"
command: tor --allow-missing-torrc --ignore-missing-torrc HiddenServiceDir /hs HiddenServicePort "443 tls:4433" HiddenServicePort "80 httpsredirect:8080"