27 lines
490 B
YAML
27 lines
490 B
YAML
|
version: '2.2'
|
||
|
|
||
|
services:
|
||
|
postgres:
|
||
|
image: postgres:15
|
||
|
container_name: postgres
|
||
|
restart: always
|
||
|
ports:
|
||
|
- "5432:5432"
|
||
|
env_file:
|
||
|
- /etc/ixvd/secrets/env/postgres.env
|
||
|
volumes:
|
||
|
- /srv/postgres/data:/var/lib/postgresql/data
|
||
|
networks:
|
||
|
- internal
|
||
|
|
||
|
pgadmin:
|
||
|
build: custom/pgadmin
|
||
|
volumes:
|
||
|
- /srv/pgadmin/data:/var/lib/pgadmin
|
||
|
env_file:
|
||
|
- /etc/ixvd/secrets/env/pgadmin.env
|
||
|
networks:
|
||
|
- proxy
|
||
|
- internal
|
||
|
|