Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Miscellaneous fixes/improvements of docker-compose.yml #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version: "3"
services:
# Postgres Configuration
postgres:
shm_size: 256mb
image: postgres:12
volumes:
- database:/var/lib/postgresql/data
Expand All @@ -18,18 +19,19 @@ services:
command: -p ${DATABASE_PORT}
# Gateway Configuration
server:
depends_on:
- postgres
network_mode: host
build:
context: .
dockerfile: ./docker/gateway.dockerfile
volumes:
- app:/app
links:
- postgres
ports:
- ${PORT}:${PORT}
environment:
PORT: ${PORT}

volumes:
database:
app:
app: