-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* begin thread safety * dockerfile for debugging * rename
- Loading branch information
1 parent
def1529
commit 8cbb879
Showing
2 changed files
with
108 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
version: '3.3' | ||
services: | ||
ssh-sync-server: | ||
restart: always | ||
environment: | ||
- PORT=3000 | ||
- NO_DOTENV=1 | ||
- DATABASE_USERNAME=sshsync | ||
- DATABASE_PASSWORD=sshsync | ||
- DATABASE_NAME=sshsync | ||
- DATABASE_HOST=ssh-sync-db:5432 | ||
logging: | ||
driver: json-file | ||
options: | ||
max-size: 10m | ||
ports: | ||
- '3000:3000' | ||
image: fd49561087a8563fece3be7eff59f6ff728c3e749fbd4ebfaee96a6ee3982b7d | ||
container_name: ssh-sync-server | ||
ssh-sync-db: | ||
image: therealpaulgg/ssh-sync-db:latest | ||
container_name: ssh-sync-db | ||
environment: | ||
- POSTGRES_USER=sshsync | ||
- POSTGRES_PASSWORD=sshsync | ||
- POSTGRES_DB=sshsync | ||
restart: always | ||
ssh-sync: | ||
image: 46204e8109ce | ||
container_name: ssh-sync | ||
stdin_open: true # Allows Docker container to keep STDIN open | ||
tty: true # Allocates a pseudo-TTY | ||
ssh-sync-2: | ||
image: 46204e8109ce | ||
container_name: ssh-sync-2 | ||
stdin_open: true # Allows Docker container to keep STDIN open | ||
tty: true # Allocates a pseudo-TTY | ||
ssh-sync-3: | ||
image: 46204e8109ce | ||
container_name: ssh-sync-3 | ||
stdin_open: true # Allows Docker container to keep STDIN open | ||
tty: true # Allocates a pseudo-TTY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters