Commit 9cf3cc5d authored by Jacob Priddy's avatar Jacob Priddy 👌

Add phpPgAdmin container cause why not...

parent 1bb551e2
......@@ -31,6 +31,8 @@ The current structure can be seen in the [docker-compose.yml](docker-compose.yml
- webserver: This container holds the nginx server that serves up the webserver files to your local machine. It is
bound to your local port 8080. It maps the backend to /api/ and the frontend to /
- db: This container holds a mariadb database for backend usage to store data.
- dbadmin: This is a phpPGgAdmin interface for the PostgreSQL databse. It is running on port 8081
[http://localhost:8081](http://localhost:8081)
- api: This container holds a php-fpm server that processes all backend files.
### Common/Useful Commands
- Bring up containers with `docker-compose up -d`
......
......@@ -30,6 +30,18 @@ services:
POSTGRES_DB: doorcode
networks:
- doorcode
dbadmin:
image: dockage/phppgadmin:latest
container_name: dbadmin
restart: unless-stopped
tty: true
ports:
- "8081:80"
environment:
PHP_PG_ADMIN_SERVER_HOST: db
PHP_PG_ADMIN_SERVER_DEFAULT_DB: doorcode
networks:
- doorcode
api:
build:
context: .
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment