build: uncomment app container
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# app:
|
||||
# build:
|
||||
# context: ./
|
||||
# dockerfile: Dockerfile
|
||||
# image: app
|
||||
# container_name: backend
|
||||
# restart: unless-stopped
|
||||
# ports:
|
||||
# - '3000:3000'
|
||||
# environment:
|
||||
# - PORT=3000
|
||||
# - DATABASE_URL=postgresql://postgres:postgres@postgres:5432/postgres
|
||||
# depends_on:
|
||||
# - postgres
|
||||
app:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: Dockerfile
|
||||
image: app
|
||||
container_name: backend
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- '3000:3000'
|
||||
environment:
|
||||
- PORT=3000
|
||||
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/postgres
|
||||
depends_on:
|
||||
- postgres
|
||||
postgres:
|
||||
image: postgres:latest
|
||||
container_name: postgres
|
||||
|
||||
Reference in New Issue
Block a user