@@ -49,7 +49,7 @@ func NewCompose(options ...Option) *Compose {
4949 Services : map [string ]Service {
5050 fmt .Sprintf ("%s_redis" , dockerComposeContainerNamePrefix ): {
5151 ContainerName : fmt .Sprintf ("%s_redis" , dockerComposeContainerNamePrefix ),
52- Expose : []string {"6379 " },
52+ Expose : []string {"6397 " },
5353 Image : "redis:7-alpine" ,
5454 Healthcheck : Healthcheck {
5555 Test : []string {"CMD" , "redis-cli" , "ping" },
@@ -79,14 +79,14 @@ func NewCompose(options ...Option) *Compose {
7979 Ports : []string {"8080:80" },
8080 Image : "rss3/node" ,
8181 },
82- fmt .Sprintf ("%s_monitor" , prefix ): {
82+ fmt .Sprintf ("%s_monitor" , dockerComposeContainerNamePrefix ): {
8383 Command : "--module=monitor" ,
84- ContainerName : fmt .Sprintf ("%s_monitor" , prefix ),
84+ ContainerName : fmt .Sprintf ("%s_monitor" , dockerComposeContainerNamePrefix ),
8585 Image : "rss3/node" ,
8686 },
87- fmt .Sprintf ("%s_broadcaster" , prefix ): {
87+ fmt .Sprintf ("%s_broadcaster" , dockerComposeContainerNamePrefix ): {
8888 Command : "--module=broadcaster" ,
89- ContainerName : fmt .Sprintf ("%s_broadcaster" , prefix ),
89+ ContainerName : fmt .Sprintf ("%s_broadcaster" , dockerComposeContainerNamePrefix ),
9090 Image : "rss3/node" ,
9191 },
9292 },
0 commit comments