Skip to content

Commit

Permalink
adjusted docker-compose setup to allow multi-file composition on prod
Browse files Browse the repository at this point in the history
  • Loading branch information
emallson committed Apr 27, 2020
1 parent 197241e commit fe124d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 8 additions & 0 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: '2.0'
services:
botrs:
ports:
- "3000:3000"
db:
ports:
- "5432:5432"
6 changes: 2 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ services:
botrs:
build: ./bot-rs/
env_file: ./bot-rs/.env
ports:
- "3000:3000"
depends_on:
- db
db:
Expand All @@ -13,7 +11,7 @@ services:
POSTGRES_USER: user
POSTGRES_PASSWORD: arstarst
POSTGRES_DB: db
ports:
- "5432:5432"
expose:
- 5432
volumes:
- ./postgres-data:/var/lib/postgresql/data

0 comments on commit fe124d7

Please sign in to comment.