Update pgadmin services with fixed IP and services dependencies

Move .codesandbox/servers.json -> pgadmin_servers.json
This commit is contained in:
xbgmsharp
2023-07-05 17:41:35 +02:00
parent a5d1495864
commit b34162f11b
2 changed files with 5 additions and 4 deletions

View File

@@ -141,7 +141,7 @@ services:
restart: unless-stopped
volumes:
- data:/var/lib/pgadmin
- $PWD/.codesandbox/servers.json:/servers.json:ro
- $PWD/pgadmin_servers.json:/servers.json:ro
ports:
- 5050:5050
environment:
@@ -152,9 +152,10 @@ services:
- PGADMIN_SERVER_JSON_FILE=/servers.json
- PGADMIN_DISABLE_POSTFIX=true
networks:
- iot
#depends_on:
# - db
iot:
ipv4_address: 172.30.0.5
depends_on:
- db
logging:
options:
max-size: 10m