Skip to content
Snippets Groups Projects
Commit 3127ed9c authored by Anton Bagliy's avatar Anton Bagliy
Browse files

FIX: devcontainer ports

parent 9487c97d
1 merge request!2Dev containers
......@@ -22,7 +22,7 @@
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// This can be used to network with other containers or with the host.
"forwardPorts": ["5463:5432", "8582:8080"],
"forwardPorts": [5432, 8080],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "java -version",
......
......@@ -6,7 +6,7 @@ volumes:
services:
app:
container_name: javadev
container_name: grade_app
build:
context: .
dockerfile: Dockerfile
......@@ -27,6 +27,8 @@ services:
POSTGRES_USER: postgres
POSTGRES_DB: brs_db_local
POSTGRES_HOSTNAME: postgresdb
env_file:
- ../.env
volumes:
- ..:/workspace:cached
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment