1
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2023-09-19 15:35:51 +10:00
parent a86d43c324
commit 915c465d63
2 changed files with 6 additions and 2 deletions

View File

@ -39,6 +39,10 @@
> vim /etc/ssh/sshd_config > vim /etc/ssh/sshd_config
PermitRootLogin without-password PermitRootLogin without-password
# Авторизация по паролю root
PermitRootLogin yes
PubkeyAuthentication yes PubkeyAuthentication yes
> service ssh restart > service ssh restart

View File

@ -8,8 +8,8 @@ services:
environment: environment:
DATABASE_URL: postgres:password@postgres-host/medicine DATABASE_URL: postgres:password@postgres-host/medicine
ports: ports:
- "9500:9500" - "9501:800"
- "9501:9501" - "5100:800"
networks: networks:
- medicine-network - medicine-network
external_links: external_links: