Jared Smith
3 years ago
2 changed files with 32 additions and 0 deletions
@ -0,0 +1,4 @@
|
||||
DB_USER=dev |
||||
DB_PASSWORD=Sprite-Marmalade-Freight-Immunize |
||||
ADMIN_USER=admin@jaredtsmith.com |
||||
ADMIN_PASSWORD=QV^dT9XXgiUM |
@ -0,0 +1,28 @@
|
||||
version: "3.7" |
||||
services: |
||||
db: |
||||
image: postgres:latest |
||||
restart: always |
||||
environment: |
||||
POSTGRES_DB: postgres |
||||
POSTGRES_USER: ${DB_USER} |
||||
POSTGRES_PASSWORD: ${DB_PASSWORD} |
||||
PGDATA: /var/lib/postgresql/data |
||||
volumes: |
||||
- /var/postgres-data:/var/lib/postgresql/data |
||||
ports: |
||||
- "5432:5432" |
||||
|
||||
pgadmin: |
||||
image: tobi312/pgadmin4:latest |
||||
restart: always |
||||
environment: |
||||
PGADMIN_DEFAULT_EMAIL: ${ADMIN_USER} |
||||
PGADMIN_DEFAULT_PASSWORD: ${ADMIN_PASSWORD} |
||||
PGADMIN_LISTEN_PORT: 80 |
||||
ports: |
||||
- "8081:80" |
||||
volumes: |
||||
- /var/pgadmin-data:/var/lib/pgadmin |
||||
links: |
||||
- "db:pgsql-server" |
Loading…
Reference in new issue