chore: Adds lom with basic commands parsing.

This commit is contained in:
greysoh 2024-05-06 11:31:51 -04:00
parent 7c1e26b150
commit 3a773e5b9b
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
10 changed files with 451 additions and 10 deletions

View file

@ -3,11 +3,21 @@ services:
image: ghcr.io/greysoh/api:latest
container_name: nextnet-api
restart: always
env_file:
- .env
ports:
- 3000:3000
environment:
NODE_ENV: production
DATABASE_URL: "postgresql://${POSTGRES_USERNAME}:${POSTGRES_PASSWORD}@nextnet-postgres:5432/${POSTGRES_DB}?schema=nextnet"
# NOTE: For this to work correctly, the nextnet-api must be version > 0.1.1
# or have a version with backported username support, incl. logins
nextnet-lom:
image: ghcr.io/greysoh/nextnet-ssh:latest
container_name: nextnet_api
restart: always
ports:
- 2222:2222
volumes:
- ssh_key_data:/app/keys
postgres:
image: postgres:15.4
@ -21,4 +31,5 @@ services:
- postgres_data:/var/lib/postgresql/data
volumes:
postgres_data:
postgres_data:
ssh_key_data: