File tree Expand file tree Collapse file tree 4 files changed +13
-10
lines changed Expand file tree Collapse file tree 4 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 7
7
- uses : actions/checkout@v4
8
8
- name : compose up
9
9
run : |-
10
- UID ="$(id -u)" GID ="$(id -g)" docker compose -f docker-compose.unit.yml up -d --wait --build
10
+ PUID ="$(id -u)" PGID ="$(id -g)" docker compose -f docker-compose.unit.yml up -d --wait --build
11
11
- name : show logs
12
12
if : failure()
13
13
run : |-
Original file line number Diff line number Diff line change 7
7
- uses : actions/checkout@v4
8
8
- name : compose up
9
9
run : |-
10
- UID ="$(id -u)" GID ="$(id -g)" docker compose up -d --wait --build
10
+ PUID ="$(id -u)" PGID ="$(id -g)" docker compose up -d --wait --build
11
11
- name : show logs
12
12
if : failure()
13
13
run : |-
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ services:
3
3
rz :
4
4
build :
5
5
context : .
6
+ args :
7
+ PUID : ${PUID}
8
+ PGID : ${PGID}
6
9
dockerfile : docker/unit/Dockerfile
7
10
environment :
8
11
CHROME_HOSTNAME : chrome # Point to the chrome container for testing
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ services:
26
26
build :
27
27
context : .
28
28
args :
29
- PUID : ${UID }
30
- PGID : ${GID }
29
+ PUID : ${PUID }
30
+ PGID : ${PGID }
31
31
platform : linux/amd64
32
32
command : bundle exec sidekiq -C config/sidekiq.yml
33
33
environment :
@@ -46,9 +46,9 @@ services:
46
46
rails :
47
47
build :
48
48
context : .
49
- args :
50
- PUID : ${UID }
51
- PGID : ${GID }
49
+ args: :
50
+ PUID : ${PUID }
51
+ PGID : ${PGID }
52
52
platform : linux/amd64
53
53
container_name : rails
54
54
command : sh -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
@@ -78,9 +78,9 @@ services:
78
78
rails_startup :
79
79
build :
80
80
context : .
81
- args :
82
- PUID : ${UID }
83
- PGID : ${GID }
81
+ args: :
82
+ PUID : ${PUID }
83
+ PGID : ${PGID }
84
84
platform : linux/amd64
85
85
environment :
86
86
DATABASE_URL : postgres://postgres:postgres@db
You can’t perform that action at this time.
0 commit comments