Skip to content

Commit 212cca1

Browse files
authored
Merge pull request #63 from Virtual-Finland-Development/chore/delete-old-docker-compose-files
Remove the old docker-compose files
2 parents 63897e5 + 583e9f7 commit 212cca1

4 files changed

Lines changed: 3 additions & 76 deletions

File tree

Tools/Docker/docker-compose-db.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

Tools/Docker/docker-compose-localdev.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
11
#!/bin/bash
2-
3-
echo "Starting Users API in docker"
4-
cd ./VirtualFinland.UserAPI/src/VirtualFinland.UsersAPI
5-
echo "Work Directory:"
6-
pwd
7-
echo "Building Docker Image of API"
8-
docker build -f Dockerfile.arm64 -t virtualfinland/usersapi:latest .
9-
echo "Starting LocalDev in Docker"
10-
cd ../../../
11-
echo "Work Directory:"
12-
pwd
13-
docker-compose -f ./Tools/Docker/docker-compose-localdev.yml up
14-
docker-compose -f ./Tools/Docker/docker-compose-localdev.yml down
15-
16-
2+
export USERAPI_DOCKERFILE=Dockerfile.arm64
3+
docker compose -f ./docker-compose.yml up --build

Tools/Scripts/startApiInDocker.sh

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,2 @@
11
#!/bin/bash
2-
set -e # exit on error
3-
echo "Starting Users API in docker"
4-
cd ./VirtualFinland.UserAPI/src/VirtualFinland.UsersAPI
5-
echo "Work Directory:"
6-
pwd
7-
echo "Building Docker Image of API"
8-
docker build -t virtualfinland/usersapi:latest .
9-
echo "Starting LocalDev in Docker"
10-
cd ../../../
11-
echo "Work Directory:"
12-
pwd
13-
docker compose -f ./Tools/Docker/docker-compose-localdev.yml up
14-
docker compose -f ./Tools/Docker/docker-compose-localdev.yml down
15-
2+
docker compose -f ./docker-compose.yml up --build

0 commit comments

Comments
 (0)