Skip to content

Commit

Permalink
feat: docker compose environment (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoriwe authored Aug 18, 2023
1 parent 61c70ba commit e39ca82
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This docker compose will be used by API developers since it
# only starts the Databases and expose their ports

version: "3.3"

networks:
server:
external: false

services:
postgres:
networks:
- server
container_name: server-postgres
restart: unless-stopped
image: postgres:latest
ports:
- "127.0.0.1:5432:5432"
environment:
POSTGRES_DB: database
POSTGRES_USER: username
POSTGRES_PASSWORD: password

0 comments on commit e39ca82

Please sign in to comment.