shellphone.app/docker-compose.yml

26 lines
652 B
YAML
Raw Normal View History

2021-08-05 17:07:15 +00:00
version: "3.7"
services:
db:
image: postgres:13-alpine
restart: unless-stopped
volumes:
- data:/var/lib/postgresql/data
2021-08-08 02:58:28 +00:00
env_file: ./.env #Here we are using the already existing .env file
2021-08-05 17:07:15 +00:00
ports:
- "5432:5432"
2021-09-25 10:56:54 +00:00
pga:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: root@localhost.localdomain
PGADMIN_DEFAULT_PASSWORD: secret
PGADMIN_DISABLE_POSTFIX: "true"
PGADMIN_CONFIG_SERVER_MODE: "False"
network_mode: host
volumes:
- pgadmin:/var/lib/pgadmin
2021-08-05 17:07:15 +00:00
volumes:
data:
2021-09-25 10:56:54 +00:00
pgadmin: