Skip to content

Commit 207c5c3

Browse files
author
Test
committed
defin local network
1 parent 6994e73 commit 207c5c3

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.15-alpha
1+
1.0.16-alpha

docker-compose.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ services:
1313
command: ["bundle", "exec", "rails", "server", "-b", "0.0.0.0", "-p", "3000"]
1414
depends_on:
1515
- redis
16+
networks:
17+
- app_network
1618

1719
worker:
1820
build: .
19-
command: ["bundle", "exec", "sidekiq"]
2021
entrypoint: ["./sidekiq-entrypoint.sh"]
22+
command: ["bundle", "exec", "sidekiq"]
2123
volumes:
2224
- .:/app
2325
- ./storage:/app/storage
@@ -26,8 +28,16 @@ services:
2628
REDIS_URL: redis://redis:6379/1
2729
depends_on:
2830
- redis
31+
networks:
32+
- app_network
2933

3034
redis:
3135
image: redis:7.2.5
3236
ports:
33-
- "6379:6379"
37+
- "6379:6379"
38+
networks:
39+
- app_network
40+
41+
networks:
42+
app_network:
43+
driver: bridge

0 commit comments

Comments
 (0)