Skip to content

Commit

Permalink
chore(localenv): re-format networks
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonianb committed Nov 30, 2022
1 parent 19fe828 commit 291ec8c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions infrastructure/local/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
dockerfile: ./packages/auth/Dockerfile
restart: always
networks:
rafiki:
- rafiki
ports:
- '3006:3006'
environment:
Expand All @@ -24,7 +24,7 @@ services:
dockerfile: ./packages/mock-account-provider/Dockerfile
restart: always
networks:
rafiki:
- rafiki
ports:
- '3030:80'
environment:
Expand All @@ -47,7 +47,7 @@ services:
- '3000:80'
- '3001:3001'
networks:
rafiki:
- rafiki
environment:
NODE_ENV: development
LOG_LEVEL: debug
Expand Down Expand Up @@ -80,7 +80,7 @@ services:
image: 'postgres:15' # use latest official postgres version
restart: unless-stopped
networks:
rafiki:
- rafiki
volumes:
- database-data:/var/lib/postgresql/data/ # persist data even if container shuts down
- ./dbinit.sql:/docker-entrypoint-initdb.d/init.sql
Expand Down Expand Up @@ -120,7 +120,7 @@ services:
image: 'redis:7'
restart: unless-stopped
networks:
rafiki:
- rafiki
volumes:
database-data: # named volumes can be managed easier using docker-compose
tigerbeetle-data: # named volumes can be managed easier using docker-compose
Expand Down
6 changes: 3 additions & 3 deletions infrastructure/local/peer-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
dockerfile: ./packages/auth/Dockerfile
restart: always
networks:
local_rafiki:
- local_rafiki
ports:
- "4006:3006"
environment:
Expand All @@ -27,7 +27,7 @@ services:
- "4000:80"
- "4001:3001"
networks:
local_rafiki:
- local_rafiki
environment:
NODE_ENV: development
LOG_LEVEL: debug
Expand Down Expand Up @@ -58,7 +58,7 @@ services:
dockerfile: ./packages/mock-account-provider/Dockerfile
restart: always
networks:
local_rafiki:
- local_rafiki
ports:
- '3031:80'
environment:
Expand Down

0 comments on commit 291ec8c

Please sign in to comment.