mirror of
https://github.com/atareao/self-hosted.git
synced 2024-07-13 09:12:38 +02:00
32 lines
522 B
YAML
32 lines
522 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
postgres:
|
|
container_name: postgres
|
|
image: postgres:latest
|
|
restart: always
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./postgres_data:/var/lib/postgresql/data
|
|
logging:
|
|
driver: journald
|
|
networks:
|
|
- internal
|
|
|
|
pgadmin:
|
|
container_name: pgadmin4
|
|
image: dpage/pgadmin4
|
|
restart: always
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./pgadmin:/var/lib/pgadmin
|
|
logging:
|
|
driver: journald
|
|
networks:
|
|
- internal
|
|
|
|
networks:
|
|
internal:
|