mirror of
https://github.com/beekeeper-studio/beekeeper-studio.git
synced 2026-03-13 10:12:54 +08:00
29 lines
597 B
YAML
29 lines
597 B
YAML
version: '3'
|
|
volumes:
|
|
psql:
|
|
services:
|
|
postgres:
|
|
image: postgres:13
|
|
container_name: test_ssh_postgres
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: example
|
|
POSTGRES_DB: integration_test
|
|
ports:
|
|
- 5432
|
|
ssh:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./SSHDockerFile
|
|
container_name: test_ssh
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/London
|
|
- PASSWORD_ACCESS=true #optional
|
|
- USER_PASSWORD=password #optional
|
|
- USER_NAME=beekeeper #optional
|
|
- SUDO_ACCESS=true
|
|
ports:
|
|
- 2222
|