set the tailscale hostname
This commit is contained in:
parent
1fe5cda5f4
commit
e3ea2cc5ef
@ -67,6 +67,8 @@ services:
|
|||||||
pgadmin:
|
pgadmin:
|
||||||
image: dpage/pgadmin4:latest
|
image: dpage/pgadmin4:latest
|
||||||
network_mode: service:tailscale-pgadmin
|
network_mode: service:tailscale-pgadmin
|
||||||
|
depends_on:
|
||||||
|
- tailscale-pgadmin
|
||||||
environment:
|
environment:
|
||||||
PGADMIN_LISTEN_ADDRESS: "0.0.0.0"
|
PGADMIN_LISTEN_ADDRESS: "0.0.0.0"
|
||||||
PGADMIN_LISTEN_PORT: 5050
|
PGADMIN_LISTEN_PORT: 5050
|
||||||
@ -78,6 +80,12 @@ services:
|
|||||||
|
|
||||||
tailscale-pgadmin:
|
tailscale-pgadmin:
|
||||||
image: tailscale/tailscale:latest
|
image: tailscale/tailscale:latest
|
||||||
|
hostname: pgadmin
|
||||||
|
environment:
|
||||||
|
TS_EXTRA_ARGS: "--advertise-tags=tag:container --reset"
|
||||||
|
TS_SERVE_CONFIG: /config/pgadmin.json
|
||||||
|
TS_STATE_DIR: /var/lib/tailscale
|
||||||
|
TS_USERSPACE: "false"
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/vfs/futureporn/tailscale/state:/var/lib/tailscale
|
- /mnt/vfs/futureporn/tailscale/state:/var/lib/tailscale
|
||||||
- /mnt/vfs/futureporn/tailscale/config:/config
|
- /mnt/vfs/futureporn/tailscale/config:/config
|
||||||
@ -86,11 +94,6 @@ services:
|
|||||||
cap_add:
|
cap_add:
|
||||||
- net_admin
|
- net_admin
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
|
||||||
TS_EXTRA_ARGS: "--advertise-tags=tag:container --reset"
|
|
||||||
TS_SERVE_CONFIG: /config/pgadmin.json
|
|
||||||
TS_STATE_DIR: /var/lib/tailscale
|
|
||||||
TS_USERSPACE: "false"
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user