Skip to content

Commit

Permalink
fix: Update docker volume mount flags for SELinux compatibility. (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
jibsaramnim authored Dec 13, 2021
1 parent 13695e5 commit 3acd2ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/start/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -696,8 +696,8 @@ EOSQL
},
&container.HostConfig{
Binds: []string{
cwd + "/supabase/.temp/pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini:ro",
cwd + "/supabase/.temp/userlist.txt:/etc/pgbouncer/userlist.txt:ro",
cwd + "/supabase/.temp/pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini:z",
cwd + "/supabase/.temp/userlist.txt:/etc/pgbouncer/userlist.txt:z",
},
PortBindings: nat.PortMap{"5432/tcp": []nat.PortBinding{{HostPort: utils.DbPort}}},
NetworkMode: container.NetworkMode(utils.NetId),
Expand Down Expand Up @@ -735,7 +735,7 @@ EOSQL
},
},
&container.HostConfig{
Binds: []string{(cwd + "/supabase/.temp/kong.yml:/var/lib/kong/kong.yml:ro")},
Binds: []string{(cwd + "/supabase/.temp/kong.yml:/var/lib/kong/kong.yml:z")},
PortBindings: nat.PortMap{"8000/tcp": []nat.PortBinding{{HostPort: utils.ApiPort}}},
NetworkMode: container.NetworkMode(utils.NetId),
},
Expand Down

0 comments on commit 3acd2ad

Please sign in to comment.