Skip to content

Commit

Permalink
add docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
sm47916 committed Nov 19, 2023
1 parent bc5bd34 commit a4f1bb2
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: '3.1'
services:
db-postgresql:
image: postgres
restart: always
environment:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
POSTGRES_DB: test
server:
image: ethlance-server:latest
container_name: eth-server
build:
context: .
dockerfile: "docker-builds/server/Dockerfile"
args:
ETHLANCE_ENV: "qa"
ports:
- 6300:6300
command: ["node", "ethlance_server.js"]
environment:
ETHLANCE_ENV: "qa"
ui:
image: ethlance-ui:latest
container_name: eth-ui
ports:
- 9080:80
build:
context: .
dockerfile: "docker-builds/ui/Dockerfile"
args:
ETHLANCE_ENV: "qa"
depends_on:
- server
environment:
ETHLANCE_ENV: "qa"

0 comments on commit a4f1bb2

Please sign in to comment.