-
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.
chore: wip -- won't map files while other nodejs image do with the sa…
…me syntax
- Loading branch information
1 parent
bdd62e3
commit 58e0c6e
Showing
3 changed files
with
28 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -14,14 +14,17 @@ services: | |
retries: 5 | ||
|
||
pgAdmin: | ||
image: dpage/pgadmin4:6.5 | ||
image: dpage/pgadmin4:8.12 | ||
restart: always | ||
depends_on: | ||
- postgres | ||
environment: | ||
PGADMIN_DEFAULT_PASSWORD: admin | ||
PGADMIN_DEFAULT_EMAIL: [email protected] | ||
network_mode: host | ||
volumes: | ||
- ./servers.json:/tmp/servers.json | ||
- ./preferences.json:/tmp/preferences.json | ||
|
||
volumes: | ||
postgres: |
8 changes: 8 additions & 0 deletions
8
docker-compose-files/postgres/postgres-pgadmin/preferences.json
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,8 @@ | ||
{ | ||
"preferences": { | ||
"misc:themes:theme": "dark", | ||
"browser:display:show_system_objects": true, | ||
"browser:display:confirm_on_refresh_close": false, | ||
"browser:display:show_user_defined_templates": true | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
docker-compose-files/postgres/postgres-pgadmin/servers.json
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,16 @@ | ||
{ | ||
"Servers": { | ||
"1": { | ||
"Name": "postgres", | ||
"Group": "GroupName", | ||
"Port": 5432, | ||
"Username": "username", | ||
"Host": "localhost", | ||
"SSLMode": "prefer", | ||
"MaintenanceDB": "db-name", | ||
"BGColor": "#1f1f1f", | ||
"FGColor": "#000000", | ||
"Comment": "This server will connect to the instance we've created in our compose file." | ||
} | ||
} | ||
} |