Skip to content

Commit

Permalink
Production docker-compose.yml file secured, Adminer removed
Browse files Browse the repository at this point in the history
  • Loading branch information
somnoynadno committed Jun 27, 2021
1 parent f23903e commit 9348304
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions docker-compose.production.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
version: '3'


services:
backend:
build: ./backend/server
Expand All @@ -9,12 +10,17 @@ services:
- postgres
ports:
- "3113:3113"
networks:
- default
- internal_network

frontend:
build: ./frontend
restart: always
ports:
- "5050:5050"
networks:
- default

postgres:
image: postgres:13.1-alpine
Expand All @@ -28,15 +34,15 @@ services:
restart: always
ports:
- "3114:5432"

adminer:
image: adminer
restart: always
ports:
- "12121:8080"
depends_on:
- postgres
networks:
- internal_network


volumes:
postgres-data:
postgres-data:


networks:
default:
internal_network:
internal: true

0 comments on commit 9348304

Please sign in to comment.