Skip to content

Commit

Permalink
Create docker-compose.dev.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
datajohnson committed May 22, 2024
1 parent 31d64e2 commit e486e7e
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docker-compose.dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: "3"

services:
#web:
# build: .
# restart: unless-stopped
# ports:
# - 3000:3000

db:
image: postgres:alpine
restart: unless-stopped
ports:
- 5432:5432
environment:
POSTGRES_USER_FILE: "/run/secrets/postgres-user"
POSTGRES_PASSWORD_FILE: "/run/secrets/postgres-password"
volumes:
- pg-data:/var/lib/postgresql/data
- ./db/secrets/:/run/secrets

pgadmin:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: michael@icefoganalytics.com
PGADMIN_DEFAULT_PASSWORD: sugaray99
ports:
- "8111:80"
volumes:
- my-data:/var/lib/pgadmin

volumes:
pg-data:
my-data:

0 comments on commit e486e7e

Please sign in to comment.