docker-test #1

Merged
xeon merged 4 commits from docker-test into master 2024-09-12 21:29:41 +00:00
4 changed files with 12 additions and 3 deletions
Showing only changes of commit deb86efff3 - Show all commits

View file

@ -2,7 +2,7 @@
http_addr = "0.0.0.0:5500"
[gateway]
host = "shorekeeper-gateway-server"
host = "host.docker.internal"
port = 7777
[database]

View file

@ -7,3 +7,6 @@ docker build -t shorekeeper-gateway-server:1.3.0-SNAPSHOT --build-arg MICROSERVI
docker build -t shorekeeper-game-server:1.3.0-SNAPSHOT --build-arg MICROSERVICE=game-server -f Dockerfile-service .
docker rmi shorekeeper-builder:1.3.0-SNAPSHOT
: Persistence for the application
docker volume create shorekeeper-postgres-vol

View file

@ -7,3 +7,6 @@ docker build -t shorekeeper-gateway-server:1.3.0-SNAPSHOT --build-arg MICROSERVI
docker build -t shorekeeper-game-server:1.3.0-SNAPSHOT --build-arg MICROSERVICE=game-server -f Dockerfile-service .
docker rmi shorekeeper-builder:1.3.0-SNAPSHOT
# Persistence for the application
docker volume create shorekeeper-postgres-vol

View file

@ -66,5 +66,8 @@ services:
environment:
- "POSTGRES_PASSWORD=toor"
volumes:
# If you want to have persistence, mount postgres data folder
- "./assets/docker/postgres/scripts:/docker-entrypoint-initdb.d"
- shorekeeper-postgres-vol:/var/lib/postgresql/data
volumes:
shorekeeper-postgres-vol:
external: true