Skip to content

Commit d64fb8c

Browse files
committed
chore: adjust rails version and expo compose to test network
1 parent b40939a commit d64fb8c

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

db/schema.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema[7.1].define(version: 2025_10_07_011315) do
13+
ActiveRecord::Schema[7.2].define(version: 2025_10_07_011315) do
1414
create_schema "auth"
1515
create_schema "extensions"
1616
create_schema "graphql"

docker-compose.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ services:
3232
# Rails API
3333
api:
3434
build: .
35+
container_name: prostaff-api
3536
environment:
3637
DATABASE_URL: ${DATABASE_URL}
3738
REDIS_URL: ${REDIS_URL:-redis://redis:6379/0}
@@ -47,8 +48,12 @@ services:
4748
depends_on:
4849
redis:
4950
condition: service_healthy
51+
networks:
52+
- default
53+
- security_tests_security-net
5054
command: >
5155
sh -c "
56+
bundle check || bundle install &&
5257
rm -f tmp/pids/server.pid &&
5358
bundle exec rails db:migrate &&
5459
bundle exec rails server -b 0.0.0.0 -p 3000
@@ -75,4 +80,8 @@ services:
7580
volumes:
7681
postgres_data:
7782
redis_data:
78-
bundle_cache:
83+
bundle_cache:
84+
85+
networks:
86+
security_tests_security-net:
87+
external: true

0 commit comments

Comments
 (0)