31 lines
889 B
YAML
31 lines
889 B
YAML
services:
|
|
cteward:
|
|
build: .
|
|
ports:
|
|
- "${APP_PORT}:5000"
|
|
# network_mode: host
|
|
|
|
stunnel:
|
|
hostname: stunnel
|
|
image: docker.io/dockurr/stunnel
|
|
# image: alpine:latest
|
|
container_name: stunnel
|
|
environment:
|
|
LISTEN_PORT: "1434"
|
|
CONNECT_PORT: "14334"
|
|
CONNECT_HOST: "10.0.1.113"
|
|
# CONNECT_HOST: "ws22.cbrp3.c-base.org"
|
|
volumes:
|
|
# - ./stunnel.conf:/etc/stunnel/stunnel.conf:ro
|
|
# - ./stunnel.pem:/etc/stunnel/stunnel.pem:ro
|
|
- ./stunnel.pem:/etc/stunnel/stunnel.pem
|
|
- ./stunnel.conf:/config/stunnel.conf:ro
|
|
- ./privkey.pem:/private.pem
|
|
- ./certificate.pem:/cert.pem
|
|
# command: ["sh", "-c", "apk add --no-cache stunnel && stunnel /etc/stunnel/stunnel.conf"]
|
|
# entrypoint: ["/bin/sh", "-c"]
|
|
# command: ["stunnel", "/config/stunnel.conf"]
|
|
ports:
|
|
- 1434:1434
|
|
restart: always
|
|
|