AutoDevReverseProxy/docker-compose-sqlproxy.yml

25 lines
566 B
YAML
Raw Normal View History

version: "3.4"
services:
sshd:
build:
context: .
dockerfile: ./Dockerfile
command: ["./sqlproxy.sh", "&", "wait", "$!" ]
ports:
2022-11-21 17:47:41 +01:00
- 3022:22
volumes:
- ./etc/ssh:/etc/ssh/
- ./script/sqlproxy.sh:/sqlproxy.sh:ro
- ./script/sqlproxy_cli.sh:/sqlproxy_cli.sh:ro
2022-12-21 19:30:38 +01:00
- ./config:/config
environment:
DISABLE_KEYGEN: true
DISABLE_CONFIG_GEN: true
HOST_CONF_PATH: /etc/hosts
RESOLVE_DOCKERHOST: true
DOCKER_HOSTNAME_VAR: DB_VHOST
networks:
- proxy
restart: unless-stopped